|
|
|
@ -41,7 +41,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
* @date 2023-10-19
|
|
|
|
|
*/
|
|
|
|
|
@Service
|
|
|
|
|
public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements IQcCheckTaskIncomeService {
|
|
|
|
|
protected Logger logger = LoggerFactory.getLogger(getClass());
|
|
|
|
|
@Autowired
|
|
|
|
|
private QcCheckTaskIncomeMapper qcCheckTaskIncomeMapper;
|
|
|
|
@ -85,6 +85,9 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
@Autowired
|
|
|
|
|
private QcCheckTaskDefectMapper qcCheckTaskDefectMapper;
|
|
|
|
|
|
|
|
|
|
// @Autowired
|
|
|
|
|
// private QcCheckUnqualifiedService qcCheckUnqualifiedService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询来料检验
|
|
|
|
|
*
|
|
|
|
@ -163,7 +166,7 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
return 0;//没有找到检测项目
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
List<QcCheckTaskDetail> itemsGG = null;
|
|
|
|
|
List<QcCheckTaskDetail> itemsGG = new ArrayList<>();
|
|
|
|
|
if(StringUtils.isNotBlank(group.getGroupId())){
|
|
|
|
|
qctp.setGroupId(group.getGroupId());
|
|
|
|
|
itemsGG = qcCheckTypeProjectMapper.getTPByTypeGroup(qctp);
|
|
|
|
@ -729,6 +732,8 @@ public class QcCheckTaskIncomeServiceImpl implements IQcCheckTaskIncomeService {
|
|
|
|
|
unqualified.setType(checkType);
|
|
|
|
|
n = qcCheckUnqualifiedMapper.insertQcCheckUnqualified(unqualified);
|
|
|
|
|
logger.info("qc_check_unqualified:" + n);
|
|
|
|
|
|
|
|
|
|
//qcCheckUnqualifiedService.updateQcCheckUnqualified(qcCheckUnqualified);
|
|
|
|
|
}
|
|
|
|
|
return 1 ;
|
|
|
|
|
}
|
|
|
|
|