Commit 6a2c36c0d81245484c92f56f2378d0789aeddab3

Authored by jiangjiazhi
1 parent bb80e45dc8

设置修改末次月经

Showing 2 changed files with 13 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyEarFacade.java View file @ 6a2c36c
... ... @@ -441,16 +441,12 @@
441 441 map.put("serviceStatus", serviceStatus);
442 442  
443 443 //医院
444   -/* List hospitals = antenatalExaminationFacade.convert();
445   - map.put("hospitals", hospitals);*/
  444 + List hospitals = InitDataUtils.getAbortionEnums();
  445 + map.put("liuchan", hospitals);
446 446  
447 447 //分娩方式
448 448 List fmType = FmTypeEnums.getFmTypeEnums();
449 449 map.put("fmType", fmType);
450   -
451   - //性别
452   - List sexType = SexTypeEnums.getSexTypeEnums();
453   - map.put("sexType", sexType);
454 450  
455 451 //体验类型
456 452 List expType = ExpEnums.getExpEnums();
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/InitDataUtils.java View file @ 6a2c36c
... ... @@ -193,6 +193,17 @@
193 193 }
194 194 return list;
195 195 }
  196 + //流产方式
  197 + public static List getAbortionEnums() {
  198 + List<Object> list = new ArrayList<>();
  199 + for (AbortionEnums enums : AbortionEnums.values()) {
  200 + Map<String, Object> resultMap = new HashMap<>();
  201 + resultMap.put("id", enums.getId());
  202 + resultMap.put("name", enums.getName());
  203 + list.add(resultMap);
  204 + }
  205 + return list;
  206 + }
196 207  
197 208 /**
198 209 * 获取性别