|
|
|
@ -417,12 +417,14 @@ public class MesNcProcessingService implements IMesNcProcessingService {
|
|
|
|
|
moveRepository.save(move);
|
|
|
|
|
|
|
|
|
|
} else if (type == MesExtEnumUtil.NC_TYPE.SCRAP.getValue()) {
|
|
|
|
|
|
|
|
|
|
//批次不需要校验条码
|
|
|
|
|
if (model.getPartInspection().getSourceType() == MesExtEnumUtil.PART_INSPECTION_SOURCE_TYPE.SINGLE.getValue()) {
|
|
|
|
|
checkProduceSn(sn, model.getSn());
|
|
|
|
|
//更新条码质量状态
|
|
|
|
|
sn.setQcStatus(MesExtEnumUtil.PRODUCE_QC_STATUS.SCRAP.getValue());
|
|
|
|
|
ConvertBean.serviceModelUpdate(sn, model.getPartInspection().getModifyUser());
|
|
|
|
|
produceSnExtService.update(sn);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//更新检验单
|
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(org);
|
|
|
|
|