质量修改检验任务问题。

master
Leon 3 years ago
parent dd6fd856c5
commit 8ccf921943

@ -688,6 +688,6 @@ public class DateUtil
int second = calendar.get(Calendar.SECOND); int second = calendar.get(Calendar.SECOND);
int msec = calendar.get(Calendar.MILLISECOND); int msec = calendar.get(Calendar.MILLISECOND);
return String.valueOf(year) + String.valueOf(month) + String.valueOf(day) + String.valueOf(hour) + String.valueOf(minute) + String.valueOf(second) + String.valueOf(msec); return String.valueOf(year) + String.valueOf(month) + String.valueOf(day) + String.valueOf(hour) + String.valueOf(minute) + String.valueOf(second);
} }
} }

@ -208,7 +208,7 @@ public class InspectionTaskManageServiceImpl implements InspectionTaskManageServ
String newTaskNo = "H_" + DateUtil.getTimeString(); String newTaskNo = "H_" + DateUtil.getTimeString();
String handle = HandleEnum.INSPECTION_TASK.getHandle(site, newTaskNo); String handle = HandleEnum.INSPECTION_TASK.getHandle(site, newTaskNo);
newInspectionTask.setHandle(handle); newInspectionTask.setHandle(handle);
newInspectionTask.setTaskNo(taskNo); newInspectionTask.setTaskNo(newTaskNo);
newInspectionTask.setStatus(Constants.INSPECTION_TASK_STATUS_NEW); newInspectionTask.setStatus(Constants.INSPECTION_TASK_STATUS_NEW);
newInspectionTask.setResult(null); newInspectionTask.setResult(null);
newInspectionTask.setComments(null); newInspectionTask.setComments(null);

Loading…
Cancel
Save