Commit 90a1cb48944caafdd8aa5f98bdf2b4e51d6848de

Authored by dongqin
1 parent e6bd399d8c

添加下拉接口

Showing 2 changed files with 12 additions and 1 deletions

platform-common/src/main/java/com/lyms/platform/common/enums/EyeExaminationEnums.java View file @ 90a1cb4
... ... @@ -35,7 +35,7 @@
35 35  
36 36 public static List<Map> getEyeExaminationEnums() {
37 37 List<Map> list = new ArrayList<>();
38   - for (ExpYunEnums e : ExpYunEnums.values()) {
  38 + for (EyeExaminationEnums e : EyeExaminationEnums.values()) {
39 39 Map rootMap = new HashMap();
40 40 rootMap.put("id", e.getId());
41 41 rootMap.put("name", e.getName());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/EnumsController.java View file @ 90a1cb4
... ... @@ -335,6 +335,17 @@
335 335 }
336 336  
337 337 /**
  338 + * 获取儿保眼科检查建议下拉
  339 + * @return
  340 + */
  341 + @RequestMapping(value = "/getEyeExamination", method = RequestMethod.GET)
  342 + @ResponseBody
  343 + public List<Map> getEyeExaminationEnums() {
  344 + List<Map> list =EyeExaminationEnums.getEyeExaminationEnums();
  345 + return list;
  346 + }
  347 +
  348 + /**
338 349 * 发送时间
339 350 * @return
340 351 */