Commit e83ac43ddb5eb0d090a6733d14ee23c411d3685e
1 parent
98d18ccf6e
Exists in
fengning2023-06-06
update 变更产后天数字段名
Showing 2 changed files with 7 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
e83ac43
... | ... | @@ -2173,8 +2173,8 @@ |
2173 | 2173 | matDeliverQuery.setYn(YnEnums.YES.getId()); |
2174 | 2174 | |
2175 | 2175 | //产后天数=当前时间-分娩时间 |
2176 | - if(matdeliverFollowRequest.getCountDay()>0){ | |
2177 | - matdeliverFollowRequest.setBirthDate(DateUtil.getyyyy_MM_dd_hms(DateUtil.addDay(new Date(), -matdeliverFollowRequest.getCountDay()))); | |
2176 | + if(matdeliverFollowRequest.getPostViewDay()>0){ | |
2177 | + matdeliverFollowRequest.setBirthDate(DateUtil.getyyyy_MM_dd_hms(DateUtil.addDay(new Date(), -matdeliverFollowRequest.getPostViewDay()))); | |
2178 | 2178 | } |
2179 | 2179 | |
2180 | 2180 | //分娩日期 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/MatdeliverFollowRequest.java
View file @
e83ac43
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | /** |
13 | 13 | * 产后天数 |
14 | 14 | */ |
15 | - private Integer countDay; | |
15 | + private Integer postViewDay; | |
16 | 16 | |
17 | 17 | /** |
18 | 18 | * 当前用户 |
19 | 19 | |
... | ... | @@ -155,12 +155,12 @@ |
155 | 155 | //空表示查询的是原来的追访模式,即根据建档选择的访视机构来访视,1,市, 2 区 |
156 | 156 | private Integer flag; |
157 | 157 | |
158 | - public Integer getCountDay() { | |
159 | - return countDay; | |
158 | + public Integer getPostViewDay() { | |
159 | + return postViewDay; | |
160 | 160 | } |
161 | 161 | |
162 | - public void setCountDay(Integer countDay) { | |
163 | - this.countDay = countDay; | |
162 | + public void setPostViewDay(Integer postViewDay) { | |
163 | + this.postViewDay = postViewDay; | |
164 | 164 | } |
165 | 165 | |
166 | 166 | public String getStreetPostRestId() { |