|
|
|
|
@ -391,7 +391,12 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
if ("6".equals(examineWay.getInputMode())) { |
|
|
|
|
reportMainBody.put("name" + i, examineItem.getName() + examineWay.getName()); |
|
|
|
|
} else { |
|
|
|
|
reportMainBody.put("name" + i, examineItem.getName()); |
|
|
|
|
// 如果是复检需要加上“(复检)”
|
|
|
|
|
if (examine.getIsRecheck() != null && examine.getIsRecheck() == 1) { |
|
|
|
|
reportMainBody.put("name" + i, examineItem.getName() + "(复检)"); |
|
|
|
|
} else { |
|
|
|
|
reportMainBody.put("name" + i, examineItem.getName()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// 判断是哪种检测
|
|
|
|
|
// String inputMode = examineItem.getInputMode();
|
|
|
|
|
@ -1138,6 +1143,10 @@ public class EntrustServiceImpl extends BaseServiceImpl<EntrustMapper, Entrust> |
|
|
|
|
private List<Map<String, Object>> fillExamineItemAndAll(List<Examine> examineList) { |
|
|
|
|
List<Map<String, Object>> ItemAndAllList = new ArrayList<>(); |
|
|
|
|
for (Examine examine : examineList) { |
|
|
|
|
// 如果是复检跳过
|
|
|
|
|
if (examine.getIsRecheck() != null && examine.getIsRecheck() == 1) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
HashMap<String, Object> map = new HashMap<>(4); |
|
|
|
|
if (examine.getExamineItemId() != null) { |
|
|
|
|
ExamineItem byId = examineItemService.getById(examine.getExamineItemId()); |
|
|
|
|
|