Commit 959bde012dfe1070546e6ade42ce27ed5d01ff07
1 parent
7678a20716
Exists in
master
and in
6 other branches
产检推送提醒
Showing 2 changed files with 142 additions and 121 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
959bde0
... | ... | @@ -343,6 +343,7 @@ |
343 | 343 | commonThreadPool.execute(new Runnable() { |
344 | 344 | @Override |
345 | 345 | public void run() { |
346 | + Patients patients = patientsService.findOnePatientById(antExamModel.getParentId()); | |
346 | 347 | try { |
347 | 348 | //更新主档案或者子档案下次预约时间冗余到patient表的数据 |
348 | 349 | patientsService.updateNextCheckTime(DateUtil.getyyyy_MM_dd(antExamModel.getNextCheckTime()), antExamModel.getParentId()); |
349 | 350 | |
... | ... | @@ -391,8 +392,14 @@ |
391 | 392 | } catch (Exception e) { |
392 | 393 | e.printStackTrace(); |
393 | 394 | } |
395 | + try{ | |
396 | + createSendMsg(patients); | |
397 | + }catch (Exception e){ | |
398 | + e.printStackTrace(); | |
399 | + } | |
394 | 400 | } |
395 | 401 | }); |
402 | + | |
396 | 403 | } |
397 | 404 | |
398 | 405 | |
... | ... | @@ -820,6 +827,12 @@ |
820 | 827 | highRiskFacade.dispHospHighRiskUse(JsonUtil.array2JsonString(excAddRequest.getOtherHighRisk())); |
821 | 828 | } |
822 | 829 | } catch (Exception e) { |
830 | + e.printStackTrace(); | |
831 | + } | |
832 | + | |
833 | + try{ | |
834 | + createSendMsg(patients); | |
835 | + }catch (Exception e){ | |
823 | 836 | e.printStackTrace(); |
824 | 837 | } |
825 | 838 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/AntExcAddRequest.java
View file @
959bde0
... | ... | @@ -27,41 +27,11 @@ |
27 | 27 | |
28 | 28 | private Integer first; // 1否 2 是,是否当前医院第一次初诊 德州需求 |
29 | 29 | |
30 | + private int isSend; // 是否发送推送,1是 | |
31 | + | |
30 | 32 | //该字段是针对聊城东昌区妇幼保健医院保存当天孕妇的lis检查项 |
31 | 33 | private String lisCheckItems; |
32 | 34 | |
33 | - public Integer getFirst() { | |
34 | - return first; | |
35 | - } | |
36 | - | |
37 | - public void setFirst(Integer first) { | |
38 | - this.first = first; | |
39 | - } | |
40 | - | |
41 | - public String getLisCheckItems() { | |
42 | - return lisCheckItems; | |
43 | - } | |
44 | - | |
45 | - public void setLisCheckItems(String lisCheckItems) { | |
46 | - this.lisCheckItems = lisCheckItems; | |
47 | - } | |
48 | - | |
49 | - public String getGenRemark() { | |
50 | - return genRemark; | |
51 | - } | |
52 | - | |
53 | - public void setGenRemark(String genRemark) { | |
54 | - this.genRemark = genRemark; | |
55 | - } | |
56 | - | |
57 | - public String getGynRemark() { | |
58 | - return gynRemark; | |
59 | - } | |
60 | - | |
61 | - public void setGynRemark(String gynRemark) { | |
62 | - this.gynRemark = gynRemark; | |
63 | - } | |
64 | - | |
65 | 35 | List<String> mHighRiskReason; |
66 | 36 | |
67 | 37 | private String cweight; |
... | ... | @@ -76,54 +46,6 @@ |
76 | 46 | |
77 | 47 | private String yqweight; |
78 | 48 | |
79 | - public String getYqweight() { | |
80 | - return yqweight; | |
81 | - } | |
82 | - | |
83 | - public void setYqweight(String yqweight) { | |
84 | - this.yqweight = yqweight; | |
85 | - } | |
86 | - | |
87 | - public String getHbp() { | |
88 | - return hbp; | |
89 | - } | |
90 | - | |
91 | - public void setHbp(String hbp) { | |
92 | - this.hbp = hbp; | |
93 | - } | |
94 | - | |
95 | - public String getLbp() { | |
96 | - return lbp; | |
97 | - } | |
98 | - | |
99 | - public void setLbp(String lbp) { | |
100 | - this.lbp = lbp; | |
101 | - } | |
102 | - | |
103 | - public String getFeritin() { | |
104 | - return feritin; | |
105 | - } | |
106 | - | |
107 | - public void setFeritin(String feritin) { | |
108 | - this.feritin = feritin; | |
109 | - } | |
110 | - | |
111 | - public String getDiabetes() { | |
112 | - return diabetes; | |
113 | - } | |
114 | - | |
115 | - public void setDiabetes(String diabetes) { | |
116 | - this.diabetes = diabetes; | |
117 | - } | |
118 | - | |
119 | - public List<String> getmHighRiskReason() { | |
120 | - return mHighRiskReason; | |
121 | - } | |
122 | - | |
123 | - public void setmHighRiskReason(List<String> mHighRiskReason) { | |
124 | - this.mHighRiskReason = mHighRiskReason; | |
125 | - } | |
126 | - | |
127 | 49 | private Map<String, List<String>> treatmentOpinion2; |
128 | 50 | private List<String> treatmentOpinion2Types; |
129 | 51 | /** |
... | ... | @@ -135,47 +57,6 @@ |
135 | 57 | */ |
136 | 58 | private String quickenRemark; |
137 | 59 | |
138 | - public String getCweight() { | |
139 | - return cweight; | |
140 | - } | |
141 | - | |
142 | - public void setCweight(String cweight) { | |
143 | - this.cweight = cweight; | |
144 | - } | |
145 | - | |
146 | - public String getQuicken() { | |
147 | - return quicken; | |
148 | - } | |
149 | - | |
150 | - public void setQuicken(String quicken) { | |
151 | - this.quicken = quicken; | |
152 | - } | |
153 | - | |
154 | - public String getQuickenRemark() { | |
155 | - return quickenRemark; | |
156 | - } | |
157 | - | |
158 | - public void setQuickenRemark(String quickenRemark) { | |
159 | - this.quickenRemark = quickenRemark; | |
160 | - } | |
161 | - | |
162 | - public Map<String, List<String>> getTreatmentOpinion2() { | |
163 | - return treatmentOpinion2; | |
164 | - } | |
165 | - | |
166 | - public void setTreatmentOpinion2(Map<String, List<String>> treatmentOpinion2) { | |
167 | - this.treatmentOpinion2 = treatmentOpinion2; | |
168 | - } | |
169 | - | |
170 | - public List<String> getTreatmentOpinion2Types() { | |
171 | - return treatmentOpinion2Types; | |
172 | - } | |
173 | - | |
174 | - public void setTreatmentOpinion2Types(List<String> treatmentOpinion2Types) { | |
175 | - this.treatmentOpinion2Types = treatmentOpinion2Types; | |
176 | - } | |
177 | - | |
178 | - | |
179 | 60 | @FormParam |
180 | 61 | @NotEmpty(message = "孕妇id不能为空") |
181 | 62 | private String parentId; |
... | ... | @@ -461,6 +342,133 @@ |
461 | 342 | |
462 | 343 | //浮肿 |
463 | 344 | private String edema; |
345 | + | |
346 | + | |
347 | + public Integer getFirst() { | |
348 | + return first; | |
349 | + } | |
350 | + | |
351 | + public void setFirst(Integer first) { | |
352 | + this.first = first; | |
353 | + } | |
354 | + | |
355 | + public String getLisCheckItems() { | |
356 | + return lisCheckItems; | |
357 | + } | |
358 | + | |
359 | + public void setLisCheckItems(String lisCheckItems) { | |
360 | + this.lisCheckItems = lisCheckItems; | |
361 | + } | |
362 | + | |
363 | + public String getGenRemark() { | |
364 | + return genRemark; | |
365 | + } | |
366 | + | |
367 | + public void setGenRemark(String genRemark) { | |
368 | + this.genRemark = genRemark; | |
369 | + } | |
370 | + | |
371 | + public String getGynRemark() { | |
372 | + return gynRemark; | |
373 | + } | |
374 | + | |
375 | + public void setGynRemark(String gynRemark) { | |
376 | + this.gynRemark = gynRemark; | |
377 | + } | |
378 | + public String getYqweight() { | |
379 | + return yqweight; | |
380 | + } | |
381 | + | |
382 | + public void setYqweight(String yqweight) { | |
383 | + this.yqweight = yqweight; | |
384 | + } | |
385 | + | |
386 | + public String getHbp() { | |
387 | + return hbp; | |
388 | + } | |
389 | + | |
390 | + public void setHbp(String hbp) { | |
391 | + this.hbp = hbp; | |
392 | + } | |
393 | + | |
394 | + public String getLbp() { | |
395 | + return lbp; | |
396 | + } | |
397 | + | |
398 | + public void setLbp(String lbp) { | |
399 | + this.lbp = lbp; | |
400 | + } | |
401 | + | |
402 | + public String getFeritin() { | |
403 | + return feritin; | |
404 | + } | |
405 | + | |
406 | + public void setFeritin(String feritin) { | |
407 | + this.feritin = feritin; | |
408 | + } | |
409 | + | |
410 | + public String getDiabetes() { | |
411 | + return diabetes; | |
412 | + } | |
413 | + | |
414 | + public void setDiabetes(String diabetes) { | |
415 | + this.diabetes = diabetes; | |
416 | + } | |
417 | + | |
418 | + public List<String> getmHighRiskReason() { | |
419 | + return mHighRiskReason; | |
420 | + } | |
421 | + | |
422 | + public void setmHighRiskReason(List<String> mHighRiskReason) { | |
423 | + this.mHighRiskReason = mHighRiskReason; | |
424 | + } | |
425 | + public String getCweight() { | |
426 | + return cweight; | |
427 | + } | |
428 | + | |
429 | + public void setCweight(String cweight) { | |
430 | + this.cweight = cweight; | |
431 | + } | |
432 | + | |
433 | + public String getQuicken() { | |
434 | + return quicken; | |
435 | + } | |
436 | + | |
437 | + public void setQuicken(String quicken) { | |
438 | + this.quicken = quicken; | |
439 | + } | |
440 | + | |
441 | + public String getQuickenRemark() { | |
442 | + return quickenRemark; | |
443 | + } | |
444 | + | |
445 | + public void setQuickenRemark(String quickenRemark) { | |
446 | + this.quickenRemark = quickenRemark; | |
447 | + } | |
448 | + | |
449 | + public Map<String, List<String>> getTreatmentOpinion2() { | |
450 | + return treatmentOpinion2; | |
451 | + } | |
452 | + | |
453 | + public void setTreatmentOpinion2(Map<String, List<String>> treatmentOpinion2) { | |
454 | + this.treatmentOpinion2 = treatmentOpinion2; | |
455 | + } | |
456 | + | |
457 | + public List<String> getTreatmentOpinion2Types() { | |
458 | + return treatmentOpinion2Types; | |
459 | + } | |
460 | + | |
461 | + public void setTreatmentOpinion2Types(List<String> treatmentOpinion2Types) { | |
462 | + this.treatmentOpinion2Types = treatmentOpinion2Types; | |
463 | + } | |
464 | + | |
465 | + public int getIsSend() { | |
466 | + return isSend; | |
467 | + } | |
468 | + | |
469 | + public void setIsSend(int isSend) { | |
470 | + this.isSend = isSend; | |
471 | + } | |
464 | 472 | |
465 | 473 | public List<String> getScreenResult() { |
466 | 474 | return screenResult; |