Commit 83ec751bad7c35db788c442db2b1700b1d279b2e

Authored by liquanyu
1 parent 3bae53b89c

导出添加高危因素

Showing 3 changed files with 6 additions and 5 deletions

platform-common/src/main/java/com/lyms/platform/common/enums/HighRiskEnum.java View file @ 83ec751
... ... @@ -19,6 +19,7 @@
19 19 TWMGY(10, "体外膜给氧"),
20 20 JXTQCG(11, "机械通气超过48小时"),
21 21 MQYQTNB(12, "母亲孕期糖尿病、妊高症或曾使用过耳毒性药物或袢利尿剂、或滥用药物和酒精"),
  22 + LCSCZ(13, "临床上存在或怀疑有与听力障碍有关的综合征或遗传病"),
22 23 M1(14, "听力异常家族史"),
23 24 M2(15, "宫内感染史"),
24 25 M3(16, "极低体重儿"),
... ... @@ -31,8 +32,8 @@
31 32 M10(23, "耳毒性药物使用史"),
32 33 M11(24, "早产儿"),
33 34 M12(25, "II型神经纤维瘤和神经衰退性疾病"),
34   - M13(26, "其他"),
35   - LCSCZ(13, "临床上存在或怀疑有与听力障碍有关的综合征或遗传病");
  35 + M13(26, "其他");
  36 +
36 37  
37 38 private int id;
38 39 private String name;
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientCourseController.java View file @ 83ec751
... ... @@ -103,13 +103,12 @@
103 103 */
104 104 @RequestMapping(method = RequestMethod.GET, value = "/signCourse")
105 105 @ResponseBody
106   - @TokenRequired
107 106 public BaseResponse signCourse(
108 107 @RequestParam(required = true) String patientCourseId,
109 108 @RequestParam(required = true) String courseId,
110 109 HttpServletRequest request) {
111 110  
112   - return patientCourseFacade.signCourse(patientCourseId, courseId, getUserId(request));
  111 + return patientCourseFacade.signCourse(patientCourseId, courseId);
113 112 }
114 113  
115 114  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientCourseFacade.java View file @ 83ec751
... ... @@ -394,7 +394,7 @@
394 394 return objectResponse;
395 395 }
396 396  
397   - public BaseResponse signCourse(String patientCourseId,String courseId, Integer userId) {
  397 + public BaseResponse signCourse(String patientCourseId,String courseId) {
398 398  
399 399 BaseResponse objectResponse = new BaseResponse();
400 400 CourseQuery query = new CourseQuery();
... ... @@ -598,6 +598,7 @@
598 598 //孕妇与课程的状态 0未预约 1预约,2签到
599 599 result.put("patientCourseStatus",String.valueOf(patientStatus));
600 600  
  601 + result.put("patientCourseId",String.valueOf(patientStatus));
601 602 results.add(result);
602 603 }
603 604 }