|
|
|
@ -155,7 +155,6 @@ public class QcCheckTaskWarehousingServiceImpl implements IQcCheckTaskWarehousin
|
|
|
|
|
Date nowDate= DateUtils.getNowDate();
|
|
|
|
|
|
|
|
|
|
String factoryCode = qcCheckTaskWarehousing.getFactoryCode();
|
|
|
|
|
|
|
|
|
|
qcCheckTaskWarehousing.setCheckNo(bpDD+liushuiStr);
|
|
|
|
|
|
|
|
|
|
/**取检测项**/
|
|
|
|
@ -170,7 +169,12 @@ public class QcCheckTaskWarehousingServiceImpl implements IQcCheckTaskWarehousin
|
|
|
|
|
QcMaterialGroupDetail group = qcMaterialGroupDetailMapper.getGroupByMaterial(qcCheckTaskWarehousing.getMaterialCode());
|
|
|
|
|
if(group == null){
|
|
|
|
|
group = new QcMaterialGroupDetail();
|
|
|
|
|
group.setGroupId("3dc0655fea3449c59c76a01cc5b91565");//成品蚊香物料组
|
|
|
|
|
QcProjectType initGroup = qcCheckTypeProjectMapper.getProductGroup(qcCheckTaskWarehousing.getMaterialCode());
|
|
|
|
|
if(initGroup != null){//包材共性
|
|
|
|
|
group.setGroupId(initGroup.getGroupId());
|
|
|
|
|
}else {//成品蚊香物料组
|
|
|
|
|
group.setGroupId("3dc0655fea3449c59c76a01cc5b91565");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
qctp.setGroupId(group.getGroupId());//共性
|
|
|
|
|
List<QcCheckTaskDetail> itemsGG = qcCheckTypeProjectMapper.getTPByTypeGroup(qctp);
|
|
|
|
|