Commit 45f0ba7d7456dde27e58119c7ed6508a5eb8e387
1 parent
f6505b1093
Exists in
master
and in
1 other branch
增加配置
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BasicConfigService.java
View file @
45f0ba7
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | } |
42 | 42 | |
43 | 43 | public List<BasicConfig> queryParentConfig() { |
44 | - return basicConfigDao.queryBasicConfig(MongoCondition.newInstance("parentId", null, MongoOper.IS).and("yn", YnEnums.YES.getId(), MongoOper.IS).toMongoQuery() | |
44 | + return basicConfigDao.queryBasicConfig(MongoCondition.newInstance("parentId", "0", MongoOper.IS).and("yn", YnEnums.YES.getId(), MongoOper.IS).toMongoQuery() | |
45 | 45 | .addOrder(Direction.ASC, "id")); |
46 | 46 | } |
47 | 47 |