Commit 533d7a072deef493e848ae1f3bf7be3b8c598878
1 parent
d1c707e9e3
Exists in
master
and in
6 other branches
统计
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 @
533d7a0
| ... | ... | @@ -81,7 +81,7 @@ |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | public List<BasicConfig> queryByParentId(String parentId) { |
| 84 | - return basicConfigDao.queryBasicConfig(MongoCondition.newInstance("parentId", parentId, MongoOper.IS).and("yn", YnEnums.YES.getId(), MongoOper.IS).toMongoQuery()); | |
| 84 | + return basicConfigDao.queryBasicConfig(MongoCondition.newInstance("parentId", parentId, MongoOper.IS).and("yn", YnEnums.YES.getId(), MongoOper.IS).toMongoQuery().addOrder(Direction.DESC, "weight")); | |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | public Page<BasicConfig> queryGuidesAndPage(int start, int end) { |