|
|
|
@ -254,6 +254,10 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
qcCheckTaskIncome.setCheckResult(result);
|
|
|
|
|
qcCheckTaskIncome.setCheckTime(DateUtils.getNowDate());
|
|
|
|
|
n = qcCheckTaskIncomeMapper.updateQcCheckTaskIncome(qcCheckTaskIncome);
|
|
|
|
|
|
|
|
|
|
/**wms_raw_order_in-->quality_status->**/
|
|
|
|
|
qcCheckTaskIncome.setCheckResult(result.equals("Y")?"1":"0");
|
|
|
|
|
qcCheckUnqualifiedMapper.updateQualityStatus(qcCheckTaskIncome);
|
|
|
|
|
}else if("produce".equals(qcCheckTaskIncome.getTypeCode())){
|
|
|
|
|
QcCheckTaskProduce qcCheckTaskProduce = new QcCheckTaskProduce();
|
|
|
|
|
qcCheckTaskProduce.setCheckStatus("2");
|
|
|
|
@ -261,6 +265,11 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
qcCheckTaskProduce.setCheckResult(result);
|
|
|
|
|
qcCheckTaskProduce.setCheckTime(DateUtils.getNowDate());
|
|
|
|
|
n = qcCheckTaskProduceMapper.updateQcCheckTaskProduce(qcCheckTaskProduce);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**pro_order_workorder-->status->w5**/
|
|
|
|
|
qcCheckTaskIncome.setStatus("w5");
|
|
|
|
|
qcCheckUnqualifiedMapper.updateWorkOrderStatus(qcCheckTaskIncome);
|
|
|
|
|
}else if("product".equals(qcCheckTaskIncome.getTypeCode())){
|
|
|
|
|
QcCheckTaskWarehousing warehousing = new QcCheckTaskWarehousing();
|
|
|
|
|
warehousing.setCheckStatus("2");
|
|
|
|
@ -283,10 +292,6 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
qcCheckUnqualifiedMapper.insertQcCheckUnqualified(unqualified);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**wms_raw_order_in-->quality_status->**/
|
|
|
|
|
qcCheckTaskIncome.setCheckResult(result.equals("Y")?"1":"0");
|
|
|
|
|
qcCheckUnqualifiedMapper.updateQualityStatus(qcCheckTaskIncome);
|
|
|
|
|
|
|
|
|
|
return n ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|