|
|
|
@ -5747,7 +5747,10 @@ public class QcServiceImpl implements QcService { |
|
|
|
qcMapper.updateFQASDetailSubmitFlag(qcData); |
|
|
|
qcMapper.updateFQASSubDetailSubmitFlag(qcData); |
|
|
|
|
|
|
|
String insApproveResultFlag = "合格".equals(qcData.getInspectionResult()) ? "Y" : "N"; |
|
|
|
String insApproveResultFlag = "N"; |
|
|
|
if ("合格".equals(qcData.getInspectionResult()) || "让步接收".equals(qcData.getDisposalMeasures()) || "挑选使用".equals(qcData.getDisposalMeasures())) { |
|
|
|
insApproveResultFlag = "Y"; |
|
|
|
} |
|
|
|
String insRemark = qcData.getInspectionRemark() != null ? qcData.getInspectionRemark() : ""; |
|
|
|
int n = qcMapper.updateCODelNotifyDetailOqcApprove(qcData.getSite(), qcData.getDelNotifyNo(), qcData.getDelNotifyItemNo(), insApproveResultFlag, qmsUserId, insRemark); |
|
|
|
} |
|
|
|
|