Commit 1ed6a48272cd9e6a0e4a003311455530001c1122
1 parent
cd234aa09b
Exists in
master
and in
1 other branch
修改产检删除
Showing 1 changed file with 2 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java
View file @
1ed6a48
... | ... | @@ -16,6 +16,7 @@ |
16 | 16 | import org.slf4j.Logger; |
17 | 17 | import org.slf4j.LoggerFactory; |
18 | 18 | import org.springframework.beans.factory.annotation.Autowired; |
19 | +import org.springframework.data.domain.Sort; | |
19 | 20 | import org.springframework.stereotype.Service; |
20 | 21 | |
21 | 22 | import java.util.ArrayList; |
... | ... | @@ -55,7 +56,7 @@ |
55 | 56 | antExQuery.setHospitalId(hospitalId); |
56 | 57 | |
57 | 58 | //复诊 |
58 | - List<AntenatalExaminationModel> list = antExService.queryAntenatalExamination(antExQuery.convertToQuery()); | |
59 | + List<AntenatalExaminationModel> list = antExService.queryAntenatalExamination(antExQuery.convertToQuery().addOrder(Sort.Direction.DESC,"checkDate")); | |
59 | 60 | for (AntenatalExaminationModel antEx : list) { |
60 | 61 | AntExRecordModel record = convert(antEx); |
61 | 62 | if (null != record) { |