|
|
|
@ -77,6 +77,9 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IQcCheckTaskDefectService qcCheckTaskDefectService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private QcSampleRuleMapper qcSampleRuleMapper;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询来料检验
|
|
|
|
|
*
|
|
|
|
@ -230,7 +233,12 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
qcCheckTaskIncome.setNoOkQuality(noOkQuality);
|
|
|
|
|
|
|
|
|
|
/**qc_sample_rule**/
|
|
|
|
|
String sampNum = qcSampleRuleMapper.getSampNum(qcCheckTaskIncome);
|
|
|
|
|
if(StringUtils.isNotBlank(sampNum)){
|
|
|
|
|
qcCheckTaskIncome.setSampleQuality(new BigDecimal(sampNum));
|
|
|
|
|
}
|
|
|
|
|
/**qc_check_task**/
|
|
|
|
|
qcCheckTaskIncomeMapper.insertQcCheckTaskIncome(qcCheckTaskIncome);
|
|
|
|
|
|
|
|
|
|
/**qc_check_task_detail**/
|
|
|
|
|