|
@@ -104,6 +104,8 @@ public class ApsProductionOrderServiceImpl extends ServiceImpl<ApsProductionOrde
|
|
|
private NewSysMindMappingService newSysMindMappingService;
|
|
|
@Autowired
|
|
|
private NewSysMindMappingDao newSysMindMappingDao;
|
|
|
+ @Autowired
|
|
|
+ private ApsProcessOperationProcessEquService apsProcessOperationProcessEquService;
|
|
|
|
|
|
|
|
|
public static final String ERROR_MSG = "%s上诉订单的排程交货期大于承诺交货期";
|
|
@@ -357,6 +359,13 @@ public class ApsProductionOrderServiceImpl extends ServiceImpl<ApsProductionOrde
|
|
|
if (!publish.getCode().equals("200")) {
|
|
|
throw new RuntimeException(publish.getMsg());
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if (ObjectUtil.isNotEmpty(apsBlankOrderDoList)) {
|
|
|
+ //更新生产状态
|
|
|
+ CommonUpdateProductionStatusReq request = new CommonUpdateProductionStatusReq();
|
|
|
+ request.setBlankId(apsBlankOrderDoList.get(0).getId());
|
|
|
+ apsProcessOperationProcessEquService.updateProductionStatus(request);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|