|
|
|
@ -5475,7 +5475,7 @@ public class QcServiceImpl implements QcService { |
|
|
|
|
|
|
|
List<TemplateDTO> templates = getTemplates(detail); |
|
|
|
if (templates == null || templates.isEmpty()) { |
|
|
|
throw new RuntimeException("该供应商未维护此物料的检验模板"); |
|
|
|
throw new RuntimeException("未维护此物料的检验模板"); |
|
|
|
} |
|
|
|
|
|
|
|
String inspectionNo = genInspectionNo(detail.getSite()); |
|
|
|
@ -5489,7 +5489,7 @@ public class QcServiceImpl implements QcService { |
|
|
|
getTemplateDetail(template.getTemplateId(), |
|
|
|
detail.getSite(), |
|
|
|
partAttr.getBuNo(), |
|
|
|
detail.getSupplierNo()); |
|
|
|
"*"); |
|
|
|
|
|
|
|
if (items == null || items.isEmpty()) { |
|
|
|
continue; |
|
|
|
@ -5521,7 +5521,7 @@ public class QcServiceImpl implements QcService { |
|
|
|
return qcMapper.listByPart( |
|
|
|
detail.getSite(), |
|
|
|
detail.getPartNo(), |
|
|
|
detail.getSupplierNo()); |
|
|
|
"*"); |
|
|
|
} |
|
|
|
|
|
|
|
// ================= 查询模板明细 ================= |
|
|
|
|