Commit d9545a976a7d5408f2d7c3a3416a19fef8f8ed1d
1 parent
06e56702f5
Exists in
master
and in
1 other branch
bug fix
Showing 3 changed files with 4 additions and 0 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BasicConfigService.java
View file @
d9545a9
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/CommunityConfigService.java
View file @
d9545a9
... | ... | @@ -26,6 +26,7 @@ |
26 | 26 | |
27 | 27 | //添加社区 |
28 | 28 | public void appendCommunity(CommunityConfig communityConfig) { |
29 | + communityConfig.setModifiedDate(System.currentTimeMillis()); | |
29 | 30 | communityConfigDao.addArea(communityConfig); |
30 | 31 | } |
31 | 32 | |
... | ... | @@ -37,6 +38,7 @@ |
37 | 38 | |
38 | 39 | //更新社区 |
39 | 40 | public void updateCommunity(CommunityConfig communityConfig) { |
41 | + communityConfig.setModifiedDate(System.currentTimeMillis()); | |
40 | 42 | communityConfigDao.updateArea(MongoCondition.newInstance("id", communityConfig.getId(), MongoOper.IS).toMongoQuery(), communityConfig); |
41 | 43 | } |
42 | 44 |
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/ReferConfigService.java
View file @
d9545a9
... | ... | @@ -37,6 +37,7 @@ |
37 | 37 | |
38 | 38 | public void addRefer(ReferValue referValue) { |
39 | 39 | referValue.setYn(YnEnums.YES.getId()); |
40 | + referValue.setModifiedDate(System.currentTimeMillis()); | |
40 | 41 | referValue.setCreateDate(System.currentTimeMillis()); |
41 | 42 | |
42 | 43 | if(null == referValue.getCharRefer() || 0 == referValue.getCharRefer().length()) { |