问题清单修复

tags/yfai-pcn-ext-v1.0
jun 10 months ago
parent fd5dbfb7df
commit 4c00b71b07

@ -208,16 +208,9 @@ public class MesInputDefectRecordService implements IMesInputDefectRecordService
MesPartInspection partInspection;
//返工单返修完成,需可疑品移正常库
if (model.isTransferFlg()) {
String srcLocate = configService.getCfgValue(org, "UMLGO");
if(!Objects.isNull(model.getPartInspection())){
MesMove mesMove = getMesMove(model, org);
if(!Objects.isNull(mesMove)){
srcLocate = mesMove.getUmlgo();
}
}
if (model.isTransferFlg() && model.getSourceType() == MesExtEnumUtil.PART_INSPECTION_SOURCE_TYPE.SINGLE.getValue()) {
//移库
MesMove move = createMove(model,srcLocate,configService.getCfgValue(org, "LGORT"), org);
MesMove move = createMove(model,getDestLocateNo(model, org),configService.getCfgValue(org, "LGORT"), org);
moveRepository.save(move);
}

Loading…
Cancel
Save