|
|
|
@ -1641,7 +1641,7 @@ public class QcServiceImpl implements QcService { |
|
|
|
qcMapper.updateInboundNotificationStatus(recordData.getSite(), recordData.getBuNo(), recordData.getDocumentNo(), "待入库"); |
|
|
|
} |
|
|
|
// 发送邮件 |
|
|
|
if ("不合格".equals(recordData.getInspectionResult())) { |
|
|
|
else if ("不合格".equals(recordData.getInspectionResult())) { |
|
|
|
// 更新"收货入库任务"的状态为"已完成" |
|
|
|
qcMapper.updateInboundNotificationStatus(recordData.getSite(), recordData.getBuNo(), recordData.getDocumentNo(), "已完成"); |
|
|
|
// try { |
|
|
|
@ -1679,6 +1679,8 @@ public class QcServiceImpl implements QcService { |
|
|
|
qcMapper.updateIQCMasterSubmitFlag2(qcData); |
|
|
|
qcMapper.updateIQCDetailSubmitFlag2(qcData); |
|
|
|
qcMapper.updateIQCSubDetailSubmitFlag2(qcData); |
|
|
|
// 修改收货入库单为待检验 |
|
|
|
qcMapper.updateInboundNotificationStatus(qcData.getSite(), qcData.getBuNo(), qcData.getDocumentNo(), "待检验"); |
|
|
|
// // 删除相应task表的数据 |
|
|
|
// qcMapper.deleteReceivingTaskByInspectionNo(qcData); |
|
|
|
} |
|
|
|
|