瀏覽代碼

排程异常优化

fangpy 7 月之前
父節點
當前提交
c9bba4c40e

+ 3 - 0
cx-aps/cx-aps-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ApsServiceImpl.java

@@ -581,6 +581,9 @@ public class ApsServiceImpl implements ApsService {
                 /*List<ApsBlankOrderVo> apsBlankOrderss = new ArrayList<>();
                 apsBlankOrderss.add(bo);*/
                 apsBlankOrderService.apsAfter(productionScheduleRetVo,apsBlankOrders,currentUser);
+                if(StrUtil.isNotBlank(productionScheduleRetVo.getMsg())){
+                    throw new CustomException(productionScheduleRetVo.getMsg()+" "+DateUtil.formatDateTime(new Date()));
+                }
             }
         }
     }