|
|
|
@ -257,18 +257,18 @@ public class SplitSfcServiceImpl extends ServiceImpl<SplitSfcMapper, SplitSfc> i
|
|
|
|
|
throw new BaseException("处置工艺路线没有步骤");
|
|
|
|
|
}
|
|
|
|
|
sfcDispatchCommonService.saveSplitSfcDispatch(site, CommonMethods.getUser(),"R", sfcData.getShopOrder(), sfc, operation, sfcDispatchBySfc.getStepId(),newSfc, maxRevisionRouter.getHandle(), sfcData.getStepSequence());
|
|
|
|
|
//创建专检任务
|
|
|
|
|
Map<String, Object> paramMap=new HashMap<>();
|
|
|
|
|
paramMap.put("CATEGORY", Constants.INSPECTION_TYPE_P);
|
|
|
|
|
paramMap.put("SFC",sfc );
|
|
|
|
|
paramMap.put("SHOP_ORDER",sfcDispatchBySfc.getShopOrder());
|
|
|
|
|
paramMap.put("OPERATION",sfcDispatchBySfc.getOperation());
|
|
|
|
|
paramMap.put("STEP_ID",sfcDispatchBySfc.getStepId());
|
|
|
|
|
paramMap.put("WORK_CENTER",sfcDispatchBySfc.getWorkCenter());
|
|
|
|
|
paramMap.put("RESRCE",sfcDispatchBySfc.getResrce());
|
|
|
|
|
paramMap.put("SFC_DISPATCH_DETAIL_BO",sfcDispatchBySfc.getHandle());
|
|
|
|
|
inspectionTaskService.createNewTask(paramMap);
|
|
|
|
|
}
|
|
|
|
|
//创建专检任务
|
|
|
|
|
Map<String, Object> paramMap=new HashMap<>();
|
|
|
|
|
paramMap.put("CATEGORY", Constants.INSPECTION_TYPE_P);
|
|
|
|
|
paramMap.put("SFC",sfc );
|
|
|
|
|
paramMap.put("SHOP_ORDER",sfcDispatchBySfc.getShopOrder());
|
|
|
|
|
paramMap.put("OPERATION",sfcDispatchBySfc.getOperation());
|
|
|
|
|
paramMap.put("STEP_ID",sfcDispatchBySfc.getStepId());
|
|
|
|
|
paramMap.put("WORK_CENTER",sfcDispatchBySfc.getWorkCenter());
|
|
|
|
|
paramMap.put("RESRCE",sfcDispatchBySfc.getResrce());
|
|
|
|
|
paramMap.put("SFC_DISPATCH_DETAIL_BO",sfcDispatchBySfc.getHandle());
|
|
|
|
|
inspectionTaskService.createNewTask(paramMap);
|
|
|
|
|
SplitSfc splitSfc=new SplitSfc();
|
|
|
|
|
splitSfc.setHandle(HandleEnum.SPLIT_SFC.getHandle(site,newSfc));
|
|
|
|
|
splitSfc.setSite(site);
|
|
|
|
|