|
@@ -330,8 +330,9 @@ public class CaseFrontSheetMainService {
|
|
|
sheet.setBacilliculture(bacillicultureCount > 0 ? "1" : "2");
|
|
|
}
|
|
|
if (StringUtil.isBlank(sheet.getStatutoryEpidemic())) {
|
|
|
- Map<String, String> epidemic = dao.selectStatutoryEpidemic(patNo, times);
|
|
|
- if (null != epidemic) {
|
|
|
+ List<Map<String, String>> epidemics = dao.selectStatutoryEpidemic(patNo, times);
|
|
|
+ if (ListUtil.notBlank(epidemics)) {
|
|
|
+ Map<String, String> epidemic = epidemics.get(0);
|
|
|
if (StringUtil.notBlank(epidemic.get("a"))) {
|
|
|
sheet.setStatutoryEpidemic("1");
|
|
|
} else if (StringUtil.notBlank(epidemic.get("b"))) {
|