|
|
|
@ -236,7 +236,7 @@ public class SplitSfcServiceImpl extends ServiceImpl<SplitSfcMapper, SplitSfc> i
|
|
|
|
|
if (StringUtil.isBlank(sfcDispatchBySfc.getResrce())){
|
|
|
|
|
throw new BaseException("未派工到设备");
|
|
|
|
|
}
|
|
|
|
|
productionContext.setResourceRef(sfcDispatchBySfc.getResrce());
|
|
|
|
|
productionContext.setResourceRef(HandleEnum.RESOURCE.getHandle(site,sfcDispatchBySfc.getResrce()));
|
|
|
|
|
createNCRequest.setProdCtx(productionContext);
|
|
|
|
|
createNCRequest.setNcCodeRef(HandleEnum.NC_CODE.getHandle(site,splitNcCode[0]));
|
|
|
|
|
ncProductionService.createNC(createNCRequest);
|
|
|
|
|