|
|
|
@ -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());
|
|
|
|
|