新建任务增加类型。

master
Leon 3 years ago
parent 0ca870ccfc
commit af57704e0a

@ -205,7 +205,7 @@ public class InspectionTaskManageServiceImpl implements InspectionTaskManageServ
//任务主表
InspectionTask newInspectionTask = new InspectionTask();
BeanUtils.copyProperties(inspectionTaskModel, newInspectionTask);
String newTaskNo = "H_" + DateUtil.getTimeString();
String newTaskNo = "P_" + DateUtil.getTimeString();
String handle = HandleEnum.INSPECTION_TASK.getHandle(site, newTaskNo);
newInspectionTask.setHandle(handle);
newInspectionTask.setTaskNo(newTaskNo);

Loading…
Cancel
Save