Commit 76c6a753a4a937f55ed904bbf1cd882a464b4723
1 parent
81069fe4a3
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/AntenatalExaminationService.java
View file @
76c6a75
... | ... | @@ -325,7 +325,7 @@ |
325 | 325 | } |
326 | 326 | |
327 | 327 | public List<AntExChuModel> queryAntExChu(AntExChuQuery antExChuQuery,Sort.Direction direction,String field) { |
328 | - return iAntExChuDao.query(antExChuQuery.convertToQuery().addOrder(Sort.Direction.DESC, field)); | |
328 | + return iAntExChuDao.query(antExChuQuery.convertToQuery().addOrder(direction, field)); | |
329 | 329 | } |
330 | 330 | |
331 | 331 | public List<AntExChuModel> queryAntExChu(MongoQuery mongoQuery) { |