bug修改
This commit is contained in:
parent
3015a43a55
commit
22c6288659
@ -287,7 +287,7 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
|
|||||||
);
|
);
|
||||||
e.setCustomers(customers);
|
e.setCustomers(customers);
|
||||||
e.setKilnName(e.getTargetPosition());
|
e.setKilnName(e.getTargetPosition());
|
||||||
e.setLocationName(locationServiceBiz.getById(e.getLocationId()).getLocationName());
|
//e.setLocationName(locationServiceBiz.getById(e.getLocationId()).getLocationName());
|
||||||
});
|
});
|
||||||
return successful(pageVo);
|
return successful(pageVo);
|
||||||
}
|
}
|
||||||
|
@ -217,7 +217,7 @@ public class ScheduledTask extends BaseService {
|
|||||||
asynRunTaskService.asynEndRecordConsume(currTask.getId(),kilnId);
|
asynRunTaskService.asynEndRecordConsume(currTask.getId(),kilnId);
|
||||||
logger.info(kilnInfo.getCode()+"炉子中的任务:"+currTask.getId()+"已加工结束,记录加工结束能源消耗值");
|
logger.info(kilnInfo.getCode()+"炉子中的任务:"+currTask.getId()+"已加工结束,记录加工结束能源消耗值");
|
||||||
//更新加工单工艺结束时间,只更新一次,因为可能因为不满住出炉条件而进入到下一次定时任务
|
//更新加工单工艺结束时间,只更新一次,因为可能因为不满住出炉条件而进入到下一次定时任务
|
||||||
if (StringUtils.isBlank(currTask.getEndTime().toString())){
|
if (String.valueOf(currTask.getEndTime()).equals("null")){
|
||||||
currTask.setEndTime(LocalDateTime.now());
|
currTask.setEndTime(LocalDateTime.now());
|
||||||
currTaskServiceBiz.updateById(currTask);
|
currTaskServiceBiz.updateById(currTask);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user