Commit 7b854fe180e8138486f359c6ef5a8a42d54b4144
1 parent
c197ee0838
Exists in
master
and in
6 other branches
bug修复
Showing 4 changed files with 6 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
7b854fe
| ... | ... | @@ -1078,7 +1078,7 @@ |
| 1078 | 1078 | PregnantInfoResult result = new PregnantInfoResult(); |
| 1079 | 1079 | |
| 1080 | 1080 | /** 是否发放过优惠券 */ |
| 1081 | - result.setSendCoupon(p.isSendCoupon()); | |
| 1081 | + result.setSendCoupon(p.isSendCoupon() == null ? false : p.isSendCoupon()); | |
| 1082 | 1082 | |
| 1083 | 1083 | result.setId(p.getId()); |
| 1084 | 1084 | /**********孕妇基本信息***************/ |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
7b854fe
| ... | ... | @@ -104,7 +104,7 @@ |
| 104 | 104 | |
| 105 | 105 | Map<String, Object> map = new HashMap<>(); |
| 106 | 106 | |
| 107 | - map.put("isSendCoupon", data.isSendCoupon()); | |
| 107 | + map.put("isSendCoupon", data.isSendCoupon() == null ? false : data.isSendCoupon()); | |
| 108 | 108 | |
| 109 | 109 | map.put("id", data.getId()); |
| 110 | 110 | /* 孕妇基础数据 */ |
regional-etl/src/main/resources/application-prod.yml
View file @
7b854fe
| 1 | 1 | spring: |
| 2 | 2 | datasource: |
| 3 | - url: jdbc:mysql://192.168.200.119:3306/platform | |
| 3 | + url: jdbc:mysql://192.168.1.39:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 | |
| 4 | 4 | username: platform |
| 5 | 5 | password: platform123 |
| 6 | 6 | driver-class-name: com.mysql.jdbc.Driver |
| 7 | 7 | |
| 8 | 8 | data: |
| 9 | 9 | mongodb: |
| 10 | - host: 192.168.200.119 | |
| 11 | - port: 27017 | |
| 10 | + host: 192.168.1.41 | |
| 11 | + port: 27018 | |
| 12 | 12 | database: platform |
| 13 | 13 | username: platform |
| 14 | 14 | password: platform123 |