|
@@ -267,25 +267,7 @@ public class TestFacade {
|
|
|
indicationPushVOList.add(indicationPushVO);
|
|
|
}
|
|
|
|
|
|
- Map<String, Object> map = new LinkedHashMap<>();
|
|
|
-
|
|
|
- List<String> msg = new ArrayList<>();
|
|
|
- List<String> errMsg = new ArrayList<>();
|
|
|
- for (IndicationPushVO indicationPushVO : indicationPushVOList) {
|
|
|
- try {
|
|
|
- IndicationDTO indicationDTO = indicationFacade.indicationFac(indicationPushVO);
|
|
|
- if (ListUtil.isEmpty(indicationDTO.getHighRiskList())) {
|
|
|
- msg.add("第【" + indicationPushVO.getIdNum() + "】行未匹配");
|
|
|
- }
|
|
|
- } catch (Exception e) {
|
|
|
- System.out.println(e.getMessage());
|
|
|
- errMsg.add(indicationPushVO.getIdNum() + "行出错了");
|
|
|
- }
|
|
|
- }
|
|
|
- map.put("总条数", indicationPushVOList.size() + "条");
|
|
|
- map.put("出错条数", msg.size() + "条");
|
|
|
- map.put("出错信息", msg);
|
|
|
- map.put("程序报错", errMsg);
|
|
|
+ Map<String, Object> map = getDebugMap(indicationPushVOList, "3");
|
|
|
return map;
|
|
|
}
|
|
|
|
|
@@ -630,6 +612,13 @@ public class TestFacade {
|
|
|
return standConvertCrfBatchDTO;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 复杂高危手术测试API
|
|
|
+ *
|
|
|
+ * @param file
|
|
|
+ * @param testLineVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public Map<String, Object> testHighRiskProcess(MultipartFile file, TestLineVO testLineVO) {
|
|
|
List<IndicationPushVO> indicationPushVOList = new ArrayList<>();
|
|
|
List<TestIndicationVO> data = ExcelUtils.importExcelMultiSheets(file, 0, 1, testLineVO.getSheetIndex(), TestIndicationVO.class);
|