首检测试

master
zhaoxiaolin 12 months ago
parent ed6b33516f
commit da4a5364db

@ -649,12 +649,12 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
qcCheckTaskIncome.setCheckResult(result.equals("Y")?"1":"2");
qcCheckUnqualifiedMapper.updateQualityStatus(qcCheckTaskIncome);
}else if("produce".equals(qcCheckTaskIncome.getTypeCode())){
if("checkTypeSC".equals(qcCheckTaskIncome.getCheckType())&&"N".equals(result)){
if("checkTypeSC".equals(qcCheckTaskIncome.getCheckType())){
/**pro_order_workorder_batch-->qc_status->2**/
qcCheckTaskIncome.setStatus("2");
qcCheckUnqualifiedMapper.updateWorkOrderBatchStatus(qcCheckTaskIncome);
}
if("checkTypeSC".equals(qcCheckTaskIncome.getCheckType())&&"N".equals(result)){
QcCheckTaskIncome recheck = new QcCheckTaskIncome();
recheck.setOldBelongTo(belongId);
recheck.setBelongTo(recheck.getRecordId());

Loading…
Cancel
Save