Commit 2645d4964bf383bb1ae20ff1c74133164ea128b5
1 parent
43835dee3e
Exists in
master
and in
1 other branch
code update
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
2645d49
| ... | ... | @@ -1198,7 +1198,7 @@ |
| 1198 | 1198 | countSql += " AND A.DOCTOR_NO = "+doctorNo; |
| 1199 | 1199 | } |
| 1200 | 1200 | |
| 1201 | - sql+=" order by A.EXAMINE_DATE DESC,A.Name ASC ) A WHERE ROWNUM <= "+end+" ) WHERE RN >= "+start; | |
| 1201 | + sql+=" order by A.EXAMINE_DATE DESC,A.Name ASC,A.EXAMINE_ID DESC ) A WHERE ROWNUM <= "+end+" ) WHERE RN >= "+start; | |
| 1202 | 1202 | |
| 1203 | 1203 | logger.info(sql); |
| 1204 | 1204 | List<Map<String,Object>> list = JdbcUtil.getListDataBySql(sql); |
| ... | ... | @@ -1330,7 +1330,7 @@ |
| 1330 | 1330 | sql += " AND A.DOCTOR_NO = "+doctorNo; |
| 1331 | 1331 | } |
| 1332 | 1332 | |
| 1333 | - sql+=" order by A.EXAMINE_DATE DESC,A.Name ASC "; | |
| 1333 | + sql+=" order by A.EXAMINE_DATE DESC,A.Name ASC,A.EXAMINE_ID DESC "; | |
| 1334 | 1334 | |
| 1335 | 1335 | try { |
| 1336 | 1336 | List<Map<String,Object>> datas = JdbcUtil.getListDataBySql(sql); |