| | |
| | | * @param category 附件分类 |
| | | * @return 结果 |
| | | */ |
| | | public int uploadAttachment(Long taskId, MultipartFile file, String category); |
| | | public Long uploadAttachment(Long taskId, MultipartFile file, String category); |
| | | |
| | | /** |
| | | * 从微信mediaId上传任务附件 |
| | |
| | | * @param accessToken 微信AccessToken |
| | | * @param mediaId 微信mediaId |
| | | * @param category 附件分类 |
| | | * @return 结果 |
| | | * @return |
| | | */ |
| | | public int uploadAttachmentFromWechat(Long taskId, String accessToken, String mediaId, String category); |
| | | public Long uploadAttachmentFromWechat(Long taskId, String accessToken, String mediaId, String category); |
| | | |
| | | /** |
| | | * 删除任务附件 |
| | |
| | | */ |
| | | public SysTaskAttachment getAttachmentById(Long attachmentId); |
| | | |
| | | |
| | | public List<SysTaskAttachment> getAttachmentsByTaskId(Long taskId); |
| | | /** |
| | | * 分配车辆给任务 |
| | | * |