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