|
|
|
@ -2393,6 +2393,10 @@ public class QcServiceImpl implements QcService { |
|
|
|
data.setInspectionCycle(partAttribute.get(0).getInspectionCycle()); |
|
|
|
} |
|
|
|
// 获取抽样数量 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果该检验模板有维护抽样方案 |
|
|
|
if (StringUtils.isNotBlank(partAttribute.get(0).getSamplingProgrammeNo())) { |
|
|
|
QcSamplingInspectionProgrammeData samplingInspectionProgrammeData = new QcSamplingInspectionProgrammeData(); |
|
|
|
@ -2405,7 +2409,10 @@ public class QcServiceImpl implements QcService { |
|
|
|
data.setSamplingQty(programmeData.getSamplingQty()); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (partAttribute.get(0).getDefaultSamplingQuantity() != null) { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
else if (partAttribute.get(0).getDefaultSamplingQuantity() != null) { |
|
|
|
// 没有维护抽样方案,再根据默认抽样数来确定 |
|
|
|
data.setSamplingQty(partAttribute.get(0).getDefaultSamplingQuantity()); |
|
|
|
} else if (partAttribute.get(0).getDefaultSamplingProportion() != null) { |
|
|
|
|