|
|
@ -383,7 +383,7 @@ public class MesNcProcessingService implements IMesNcProcessingService {
|
|
|
|
|
|
|
|
|
|
|
|
model.getPartInspection().setDefectTypeId(person.getId());
|
|
|
|
model.getPartInspection().setDefectTypeId(person.getId());
|
|
|
|
model.getPartInspection().setNcStatus(MesExtEnumUtil.PART_INSPECTION_NC_STATUS.REWORK.getValue());
|
|
|
|
model.getPartInspection().setNcStatus(MesExtEnumUtil.PART_INSPECTION_NC_STATUS.REWORK.getValue());
|
|
|
|
model.getPartInspection().setDefectTypeId(reworkTask.getId());
|
|
|
|
model.getPartInspection().setReworkTaskId(reworkTask.getId());
|
|
|
|
partInspectionRepository.save(model.getPartInspection());
|
|
|
|
partInspectionRepository.save(model.getPartInspection());
|
|
|
|
|
|
|
|
|
|
|
|
} else if (type == MesExtEnumUtil.NC_TYPE.SCRAP.getValue()) {
|
|
|
|
} else if (type == MesExtEnumUtil.NC_TYPE.SCRAP.getValue()) {
|
|
|
|