| | |
| | | public interface ISysTaskService { |
| | | |
| | | public Boolean dispatchSyncEvent(Long taskId); |
| | | |
| | | /** |
| | | * 判断任务是否总部推送 |
| | | * @param taskCreatorId |
| | | * @param taskDeptId |
| | | * @return |
| | | */ |
| | | public Boolean isTaskHeaderPush(Long taskCreatorId,Long taskDeptId); |
| | | /** |
| | | * 查询任务管理 |
| | | * |
| | |
| | | */ |
| | | public int changeTaskStatusWithLocation(Long taskId, TaskStatus newStatus, String remark, SysTaskLog locationLog); |
| | | |
| | | /** |
| | | * 保存任务取消信息(仅限转运任务) |
| | | * |
| | | * @param taskId 任务ID |
| | | * @param cancelReason 取消原因(数据字典task_cancel_reason的value) |
| | | * @return 结果 |
| | | */ |
| | | public int saveCancelInfo(Long taskId, String cancelReason); |
| | | |
| | | /** |
| | | * 保存任务取消信息(含取消人) |
| | | * @param taskId |
| | | * @param cancelReason |
| | | * @param cancelBy |
| | | * @return |
| | | */ |
| | | public int saveCancel(Long taskId, String cancelReason,String cancelBy,Date cancelTime); |
| | | /** |
| | | * 上传任务附件 |
| | | * |
| | |
| | | * @return 结果 |
| | | */ |
| | | public com.ruoyi.common.core.domain.AjaxResult cancelAssigneeReady(Long taskId, Long userId); |
| | | |
| | | /** |
| | | * 检查任务是否重复(根据联系人电话和创建日期) |
| | | * |
| | | * @param phone 联系人电话 |
| | | * @param createDate 任务创建日期(格式:YYYY-MM-DD) |
| | | * @return true-存在重复,false-不重复 |
| | | */ |
| | | public boolean checkTaskDuplicate(String phone, String createDate); |
| | | |
| | | } |