Commit 3b7f548a46721c6fd1fa4045b0cb920c5c3540f8
1 parent
5925d3a0ed
Exists in
master
and in
1 other branch
孕妇分娩后 变成产妇
Showing 1 changed file with 6 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/RiskPatientsResult.java
View file @
3b7f548
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | //风险因素 |
32 | 32 | private String rFactor; |
33 | 33 | //高危评分 |
34 | - private int hScore; | |
34 | + private Integer hScore; | |
35 | 35 | //产检次数 |
36 | 36 | private int cTimes; |
37 | 37 | //预产期 |
38 | 38 | |
... | ... | @@ -89,11 +89,14 @@ |
89 | 89 | this.dueWeek = dueWeek; |
90 | 90 | } |
91 | 91 | |
92 | - public int gethScore() { | |
92 | + public Integer gethScore() { | |
93 | + if(null==hScore){ | |
94 | + return 0; | |
95 | + } | |
93 | 96 | return hScore; |
94 | 97 | } |
95 | 98 | |
96 | - public void sethScore(int hScore) { | |
99 | + public void sethScore(Integer hScore) { | |
97 | 100 | this.hScore = hScore; |
98 | 101 | } |
99 | 102 |