|
@@ -2887,6 +2887,10 @@ public class ApsProcessOperationProcessEquServiceImpl extends ServiceImpl<ApsPro
|
|
|
|
|
|
//计算作业时长
|
|
|
// int workTime = (int) DateUtil.between(equDo.getPlanstartdate(), equDo.getPlanenddate(), DateUnit.MINUTE);
|
|
|
+ if (StringUtils.isBlank(workShopExportVo.getTime())) {
|
|
|
+ errorMessageList.add("第" + num + "行的加工时长为空;");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
int workTime = Math.abs(Integer.parseInt(workShopExportVo.getTime()));
|
|
|
if (!resMap.containsKey(aspCheckItemsDo.getId())) {
|
|
|
if (workShopExportVo.getPlanstartdate() == null) {
|