|
|
|
@ -272,11 +272,12 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
|
|
|
|
|
equOrder.setUpdateTime(DateUtils.getNowDate());
|
|
|
|
|
equOrder.setUpdateBy(SecurityContextHolder.getUserName());
|
|
|
|
|
equOrder.setPlanPerson(SecurityContextHolder.getUserName());// 设置负责人
|
|
|
|
|
equOrder.setOrderEnd(DateUtils.getNowDate());// 设置检查时间结束
|
|
|
|
|
equOrder.setOrderStart(DateUtils.getNowDate());// 设置检查时间开始
|
|
|
|
|
if (equOrder.getTimeArray().size() > 0) {
|
|
|
|
|
equOrder.setOrderStart(equOrder.getTimeArray().get(0));// 工单开始时间
|
|
|
|
|
equOrder.setOrderEnd(equOrder.getTimeArray().get(1));// 工单结束时间
|
|
|
|
|
}
|
|
|
|
|
equOrder.setOrderStart(DateUtils.getNowDate());// 设置检查时间
|
|
|
|
|
|
|
|
|
|
// 是否存在报修单
|
|
|
|
|
boolean checkRepair = false;
|
|
|
|
|