Browse Source

修改诊疗评估报告导出中的编号为memberId或门诊号

new-ays
zzc 3 months ago
parent
commit
edbc470e7b
  1. 18
      acupuncture-system/src/main/java/com/acupuncture/system/service/impl/PmsTreatmentServiceImpl.java

18
acupuncture-system/src/main/java/com/acupuncture/system/service/impl/PmsTreatmentServiceImpl.java

@ -547,7 +547,7 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
map.put("sex", pmsTreatment.getGender() == 0 ? "男" : "女");
map.put("age", pmsTreatment.getAge() + " 岁");
map.put("phone", pmsTreatment.getPhone());
map.put("visitNum", pmsTreatment.getVisitNumber());
map.put("visitNum", StrUtil.isEmpty(pmsTreatment.getVisitNumber()) ? pmsTreatment.getMemberId() : pmsTreatment.getVisitNumber());
map.put("visitTime", DateUtil.format(pmsTreatment.getVisitTime(), "yyyy-MM-dd"));
map.put("doctor", pmsTreatment.getDoctor());
map.put("createBy", pmsTreatment.getCreateBy());
@ -563,7 +563,7 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
String txlx = recordMap.get("PG_RTCF_TXLX") == null ? "" : recordMap.get("PG_RTCF_TXLX").getAnswer();
if (StrUtil.isEmpty(txlx)) {
map.put("rtcf_flag", false);
}else {
} else {
map.put("rtcf_flag", true);
}
map.put("PG_RTCF_TXLX", txlx);
@ -585,7 +585,7 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
String tzbs = recordMap.get("PG_TZBS_ZYTZ") == null ? "" : recordMap.get("PG_TZBS_ZYTZ").getAnswer();
if (StrUtil.isEmpty(tzbs)) {
map.put("bsjg_flag", false);
}else {
} else {
map.put("bsjg_flag", true);
}
map.put("PG_TZBS_ZYTZ", tzbs);
@ -596,7 +596,7 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
String score3 = recordMap.get("PG_TT_SRS22_DF") == null ? "" : recordMap.get("PG_TT_SRS22_DF").getAnswer();
if (StrUtil.isEmpty(score1) && StrUtil.isEmpty(score2) && StrUtil.isEmpty(score3)) {
map.put("ttpg_flag", false);
}else {
} else {
map.put("ttpg_flag", true);
}
map.put("score1", score1);
@ -608,13 +608,13 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
if (StrUtil.isEmpty(score4) && StrUtil.isEmpty(score5) && StrUtil.isEmpty(score6)) {
map.put("smpg_flag", false);
}else {
} else {
map.put("smpg_flag", true);
}
map.put("table0", Tables.of(new String[][] {
new String[] { "00", "01" },
new String[] { "10", "11" }
map.put("table0", Tables.of(new String[][]{
new String[]{"00", "01"},
new String[]{"10", "11"}
}).border(BorderStyle.DEFAULT).create());
@ -626,7 +626,7 @@ public class PmsTreatmentServiceImpl implements PmsTreatmentService {
String score8 = recordMap.get("PG_JL_SAS_DF") == null ? "" : recordMap.get("PG_JL_SAS_DF").getAnswer();
if (StrUtil.isEmpty(score7) && StrUtil.isEmpty(score8)) {
map.put("jlpg_flag", false);
}else {
} else {
map.put("jlpg_flag", true);
}
map.put("score7", score7);

Loading…
Cancel
Save