|
|
|
@ -928,7 +928,12 @@ public class QcCheckTaskIncomeServiceImpl<QcCheckUnqualifiedService> implements
|
|
|
|
|
||task.getCheckType().equals("checkTypeSC")
|
|
|
|
|
||task.getCheckType().equals("checkTypeCP")){
|
|
|
|
|
group = new QcMaterialGroupDetail();
|
|
|
|
|
group.setGroupId("3dc0655fea3449c59c76a01cc5b91565");//成品蚊香物料组
|
|
|
|
|
QcProjectType initGroup = qcCheckTypeProjectMapper.getProductGroup(task.getMaterialCode());
|
|
|
|
|
if(initGroup != null){//包材共性
|
|
|
|
|
group.setGroupId(initGroup.getGroupId());
|
|
|
|
|
}else {//成品蚊香物料组
|
|
|
|
|
group.setGroupId("3dc0655fea3449c59c76a01cc5b91565");
|
|
|
|
|
}
|
|
|
|
|
}else if(task.getCheckType().equals("checkTypeCC")){
|
|
|
|
|
group = new QcMaterialGroupDetail();
|
|
|
|
|
QcProjectType initGroup = qcCheckTypeProjectMapper.getProductGroup(task.getMaterialCode());
|
|
|
|
|