|
|
@ -238,7 +238,7 @@ public class MesInputDefectRecordService implements IMesInputDefectRecordService
|
|
|
|
|
|
|
|
|
|
|
|
partInspection = createPartInspection(model, MesExtEnumUtil.PART_INSPECTION_STATUS.QUALIFIED.getValue(), org);
|
|
|
|
partInspection = createPartInspection(model, MesExtEnumUtil.PART_INSPECTION_STATUS.QUALIFIED.getValue(), org);
|
|
|
|
if (model.getOptType() != null && model.getOptType() == 2) {
|
|
|
|
if (model.getOptType() != null && model.getOptType() == 2) {
|
|
|
|
partInspection .setRefundFlag(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue());
|
|
|
|
partInspection.setRefundFlag(CommonEnumUtil.TRUE_OR_FALSE.TRUE.getValue());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
partInspectionRepository.save(partInspection);
|
|
|
|
partInspectionRepository.save(partInspection);
|
|
|
|
|
|
|
|
|
|
|
|