|
|
|
@ -125,7 +125,7 @@ public class MesProductResultErrorHandleStepService extends BaseStepService {
|
|
|
|
|
partInspection.setPartNo(mesProduceSn.getPartNo());
|
|
|
|
|
partInspection.setPartName(mesProduceSn.getPartName());
|
|
|
|
|
partInspection.setDefectTypeCode(mesDefectType.getDefectTypeCode());
|
|
|
|
|
partInspection.setInspectionDate(DateUtil.format(new Date(), DatePattern.PURE_DATE_PATTERN));
|
|
|
|
|
partInspection.setInspectionDate(DateUtil.format(new Date(), DatePattern.NORM_DATE_PATTERN));
|
|
|
|
|
partInspection.setLotNo(mesProduceSn.getLotNo());
|
|
|
|
|
if (Objects.equal(MesExtEnumUtil.EQUIP_VARIABLE_CFG_CATEGORY.PRODUCT_SCRAP.getValue(), result)) {
|
|
|
|
|
partInspection.setNcStatus(MesExtEnumUtil.PART_INSPECTION_NC_STATUS.SCRAP.getValue());
|
|
|
|
|