提交 adfbc66d authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 5994f5ac
...@@ -177,11 +177,11 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -177,11 +177,11 @@ public class ImChatTemplateImpl implements ImChatTemplate {
if (rrResult.isSuccess()) { if (rrResult.isSuccess()) {
ReportDetailVo reportDetailVo = JSON.parseObject(JSONObject.toJSONString(rrResult.getData()), ReportDetailVo.class); ReportDetailVo reportDetailVo = JSON.parseObject(JSONObject.toJSONString(rrResult.getData()), ReportDetailVo.class);
List<ReportDetailItemVo> reportDetailItemVos = reportDetailVo.getReportFileList(); List<ReportDetailItemVo> reportDetailItemVos = reportDetailVo.getReportFileList();
if (i == 1 || i == 3) { if (i == 0 || i == 2) {
if (Objects.nonNull(reportDetailVo)) { if (Objects.nonNull(reportDetailVo)) {
content = MessageFormat.format(content, patientSignInfo.getDoctorName(), ReportTypeEnum.getDesc(reportDetailVo.getReportType())); content = MessageFormat.format(content, patientSignInfo.getDoctorName(), ReportTypeEnum.getDesc(reportDetailVo.getReportType()));
} }
} else if (i == 2) { } else if (i == 1) {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
if (reportDetailVo.getReportType().equals(1)) { if (reportDetailVo.getReportType().equals(1)) {
List<Map<String, Object>> mapList = new ArrayList<>(); List<Map<String, Object>> mapList = new ArrayList<>();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论