Leon 3 years ago
commit 987415f7b7

@ -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);

Loading…
Cancel
Save