Commit 1017f8f07242e70be86e3abb5e399d4e5f9e1bb1
1 parent
a3f4144057
Exists in
fengning2023-06-06
add 增加重点关注字段
Showing 4 changed files with 58 additions and 0 deletions
- platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java
- platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/RiskPatientsQueryRequest.java
platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java
View file @
1017f8f
... | ... | @@ -487,6 +487,16 @@ |
487 | 487 | private String buildingManualCode; |
488 | 488 | private Integer isComplete; |
489 | 489 | |
490 | + public String getIsFocus() { | |
491 | + return isFocus; | |
492 | + } | |
493 | + | |
494 | + public void setIsFocus(String isFocus) { | |
495 | + this.isFocus = isFocus; | |
496 | + } | |
497 | + | |
498 | + private String isFocus; | |
499 | + | |
490 | 500 | public String getVillageId() { |
491 | 501 | return villageId; |
492 | 502 | } |
platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java
View file @
1017f8f
... | ... | @@ -424,6 +424,16 @@ |
424 | 424 | private String currentAreaId; |
425 | 425 | private Integer isComplete; |
426 | 426 | |
427 | + public String getIsFocus() { | |
428 | + return isFocus; | |
429 | + } | |
430 | + | |
431 | + public void setIsFocus(String isFocus) { | |
432 | + this.isFocus = isFocus; | |
433 | + } | |
434 | + | |
435 | + private String isFocus; | |
436 | + | |
427 | 437 | public String getBooksuifangDoctor() { |
428 | 438 | return booksuifangDoctor; |
429 | 439 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java
View file @
1017f8f
... | ... | @@ -931,5 +931,33 @@ |
931 | 931 | } |
932 | 932 | |
933 | 933 | |
934 | + /** | |
935 | + * 小程序高危孕妇管理 | |
936 | + * | |
937 | + * @param patientsQueryRequest 产妇管理修改接口 | |
938 | + * @return 返回结果 | |
939 | + */ | |
940 | + @RequestMapping(value = "/wxhPuer", method = RequestMethod.GET) | |
941 | + @ResponseBody | |
942 | + public BaseResponse wxhPuer(@Valid RiskPatientsQueryRequest patientsQueryRequest, String doctorId) { | |
943 | + int userId = Integer.parseInt(doctorId); | |
944 | + BaseResponse baseResponse = patientFacade.queryHighRisk(patientsQueryRequest, Boolean.TRUE, 1, userId, "true", Boolean.FALSE); | |
945 | + return baseResponse; | |
946 | + } | |
947 | + | |
948 | + /** | |
949 | + * 全部孕妇管理 | |
950 | + * | |
951 | + * @param patientsQueryRequest 全部孕妇管理查询 (因为请求参数一样同用一个对象) | |
952 | + * @return 返回结果 | |
953 | + */ | |
954 | + @RequestMapping(value = "/wxaPuer", method = RequestMethod.GET) | |
955 | + @ResponseBody | |
956 | + public BaseResponse wxaPuer(RiskPatientsQueryRequest patientsQueryRequest,String doctorId) { | |
957 | + int userId = Integer.parseInt(doctorId); | |
958 | + return patientFacade.queryHighRisk(patientsQueryRequest, null, 1, userId, "true", Boolean.FALSE); | |
959 | + } | |
960 | + | |
961 | + | |
934 | 962 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/RiskPatientsQueryRequest.java
View file @
1017f8f
... | ... | @@ -194,6 +194,16 @@ |
194 | 194 | //体重异常管理-接收建档时间筛选用 |
195 | 195 | private String buildDate; |
196 | 196 | |
197 | + public String getIsFocus() { | |
198 | + return isFocus; | |
199 | + } | |
200 | + | |
201 | + public void setIsFocus(String isFocus) { | |
202 | + this.isFocus = isFocus; | |
203 | + } | |
204 | + | |
205 | + private String isFocus; | |
206 | + | |
197 | 207 | public String getVillageRegisterId() { |
198 | 208 | return villageRegisterId; |
199 | 209 | } |