Commit bd80cfc5fad3d01c7cf4d4b6c6b84183f53a7476
1 parent
95a2857e83
Exists in
master
and in
6 other branches
update code
Showing 2 changed files with 6 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/dao/BaseMongoDAOImpl.java
View file @
bd80cfc
| ... | ... | @@ -156,7 +156,8 @@ |
| 156 | 156 | public static String mongo_crypto_key = Config.getItem("mongo_crypto_key", "0"); |
| 157 | 157 | public static String mongo_sync = Config.getItem("mongo_sync", "0"); |
| 158 | 158 | public void addSyncData(String action, Object data, String id) { |
| 159 | - if ("SyncDataModel".equals(data.getClass().getSimpleName())) { | |
| 159 | + if ("SyncDataModel".equals(data.getClass().getSimpleName()) | |
| 160 | + || "ArchiveData".equals(data.getClass().getSimpleName())) { | |
| 160 | 161 | return; |
| 161 | 162 | } |
| 162 | 163 | if ("1".equals(mongo_sync)) { |
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/QhdfyFmService.java
View file @
bd80cfc
| ... | ... | @@ -208,6 +208,7 @@ |
| 208 | 208 | UsersQuery usersQuery = new UsersQuery(); |
| 209 | 209 | usersQuery.setName(item.getJsz()); |
| 210 | 210 | usersQuery.setYn(YnEnums.YES.getId()); |
| 211 | + usersQuery.setOrgId(216); | |
| 211 | 212 | List<Users> users = usersService.queryUsers(usersQuery); |
| 212 | 213 | if (!CollectionUtils.isNotEmpty(users)) { |
| 213 | 214 | usersQuery.setName("产房"); |
| 214 | 215 | |
| ... | ... | @@ -406,7 +407,9 @@ |
| 406 | 407 | UsersQuery usersQuery = new UsersQuery(); |
| 407 | 408 | usersQuery.setName(item.getJsz()); |
| 408 | 409 | usersQuery.setYn(YnEnums.YES.getId()); |
| 410 | + usersQuery.setOrgId(216); | |
| 409 | 411 | List<Users> users = usersService.queryUsers(usersQuery); |
| 412 | + | |
| 410 | 413 | if (!CollectionUtils.isNotEmpty(users)) |
| 411 | 414 | { |
| 412 | 415 | usersQuery.setName("产房"); |
| ... | ... | @@ -667,6 +670,7 @@ |
| 667 | 670 | UsersQuery usersQuery = new UsersQuery(); |
| 668 | 671 | usersQuery.setYn(YnEnums.YES.getId()); |
| 669 | 672 | usersQuery.setName("产房"); |
| 673 | + usersQuery.setOrgId(216); | |
| 670 | 674 | List<Users> users = usersService.queryUsers(usersQuery); |
| 671 | 675 | |
| 672 | 676 | BabyBookbuildingAddRequest request = new BabyBookbuildingAddRequest(); |