|
|
@ -296,6 +296,12 @@ public class TaskController extends JeecgController<Task, ITaskService> { |
|
|
|
e.setUpperTaskName(taskUpper.getTaskName()); |
|
|
|
e.setUpperTaskName(taskUpper.getTaskName()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(e.getTypeId())) { |
|
|
|
|
|
|
|
TaskType taskType = taskTypeService.getById(e.getTypeId()); |
|
|
|
|
|
|
|
if (ObjectUtils.isNotEmpty(taskType)) { |
|
|
|
|
|
|
|
e.setTypePid(taskType.getPid()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
if (e.getTaskFile() != null && !e.getTaskFile().equals("")) { |
|
|
|
if (e.getTaskFile() != null && !e.getTaskFile().equals("")) { |
|
|
|
e.setContentType("file"); |
|
|
|
e.setContentType("file"); |
|
|
|
} else if (e.getTaskPic() != null && !e.getTaskPic().equals("")) { |
|
|
|
} else if (e.getTaskPic() != null && !e.getTaskPic().equals("")) { |
|
|
|