| | |
| | | // 检测依据 |
| | | Set<String> standardMethod = new HashSet<>(); |
| | | StringBuilder standardMethod2 = new StringBuilder(); |
| | | standardMethod.add(baseMapper.getStandardMethodCode(insSample.getStandardMethodListId())); |
| | | // TODO 检验的对象的检验标准由一个多个 数据类型由int变字符串 需要重写写这块逻辑 |
| | | // standardMethod.add(baseMapper.getStandardMethodCode(insSample.getStandardMethodListId())); |
| | | for (String s : standardMethod) { |
| | | standardMethod2.append("、").append(s); |
| | | } |
| | |
| | | samples.forEach(a -> { |
| | | Map<Integer, String> map2 = new HashMap<>(); |
| | | models.add(a.getModel()); |
| | | String standardMethodCode = baseMapper.getStandardMethodCode(a.getStandardMethodListId()); |
| | | // TODO 检验的对象的检验标准由一个多个 数据类型由int变字符串 需要重写写这块逻辑 |
| | | // String standardMethodCode = baseMapper.getStandardMethodCode(a.getStandardMethodListId()); |
| | | String standardMethodCode = ""; |
| | | if (StrUtil.isNotBlank(a.getSpecialStandardMethod())) { |
| | | standardMethodCode = standardMethodCode + "+" + a.getSpecialStandardMethod(); |
| | | } |