质量 缺陷类型 NC处理

tags/yfai-pcn-ext-v1.0
LML丶 1 year ago
parent 6dcb5e83ba
commit 403b1a8aa1

@ -118,7 +118,7 @@ public class MesNcProcessingService implements IMesNcProcessingService {
DdlPreparedPack.getStringEqualPack(defectRecordList.get(0).getPartNo(), "partNo", packBean); DdlPreparedPack.getStringEqualPack(defectRecordList.get(0).getPartNo(), "partNo", packBean);
MesPart part = partRepository.getByProperty(packBean); MesPart part = partRepository.getByProperty(packBean);
GenSerialNoModel serialNoModel = new GenSerialNoModel("INPUT_DEFECT_ZRSUM"); GenSerialNoModel serialNoModel = new GenSerialNoModel("NC_DEFECT_ZRSUM");
serialNoModel.setPartNo(part.getPartNo()); serialNoModel.setPartNo(part.getPartNo());
ResultBean rb = syncFuncService.syncSerialNo(serialNoModel, AuthUtil.getSessionUser().getUserName(), org, 1); ResultBean rb = syncFuncService.syncSerialNo(serialNoModel, AuthUtil.getSessionUser().getUserName(), org, 1);
String zrsum = ""; String zrsum = "";
@ -130,8 +130,8 @@ public class MesNcProcessingService implements IMesNcProcessingService {
MesMove move = new MesMove(); MesMove move = new MesMove();
move.setOrganizeCode(org); move.setOrganizeCode(org);
move.setFactoryCode(org); move.setFactoryCode(org);
move.setLgort(configService.getCfgValue(org, "LGORT")); move.setLgort(configService.getCfgValue(org, "UMLGO"));
move.setUmlgo(configService.getCfgValue(org, "UMLGO")); move.setUmlgo(configService.getCfgValue(org, "LGORT"));
move.setMenge(defectRecordList.size()); move.setMenge(defectRecordList.size());
move.setMeins(part.getUnit()); move.setMeins(part.getUnit());
move.setZrsum(zrsum); move.setZrsum(zrsum);

Loading…
Cancel
Save