update 外协虚拟工序自动发布

master
yinq 2 years ago
parent 978c5d2ca0
commit 45ac479b7e

@ -441,7 +441,7 @@ public class ShopOrderReleaseServiceImpl implements ShopOrderReleaseService {
try {
sfcDispatchService.saveBatch(sfcDispatchList);
//工单下达->外协虚拟工序自动发布
if ("false".equals(isSplitSfc)){
// if ("false".equals(isSplitSfc)){
List<SfcDispatchDto> sfcDispatchDtoList = new ArrayList<>();
for (SfcDispatch sfcDispatch : sfcDispatchList) {
if (sfcDispatch.getOperation().equals("WX_6106GX")){
@ -457,7 +457,7 @@ public class ShopOrderReleaseServiceImpl implements ShopOrderReleaseService {
if (sfcDispatchDtoList.size() != 0){
sfcDispatchService.releaseDispatch(site,user,new StringBuffer("工单下达外协虚拟工序自动发布:"),sfcDispatchDtoList);
}
}
// }
}catch (PersistenceException e){
throw new BaseException("此工单存在返修工序,返修工序步骤标识重复,请修改返修工艺的步骤标识数值!");
}

Loading…
Cancel
Save