Commit 0acef125ddbaa3f0c739af7ff4570397dac09dd9

Authored by dongqin
1 parent ce7dbb84a2

修复bug

Showing 2 changed files with 3 additions and 6 deletions

platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml View file @ 0acef12
... ... @@ -548,11 +548,9 @@
548 548 <if test="param.serDoct != null and param.serDoct != '' ">
549 549 AND ps.ser_doct = #{param.serDoct}
550 550 </if>
551   - <if test="param.sort != null and param.sort != '' ">
552   - order by "createDate" ${param.sort}
553   - <if test="param.need != null">
554   - limit #{param.offset, jdbcType=INTEGER} , #{param.limit, jdbcType=INTEGER}
555   - </if>
  551 + order by ps.create_date desc
  552 + <if test="param.need != null">
  553 + limit #{param.offset, jdbcType=INTEGER} , #{param.limit, jdbcType=INTEGER}
556 554 </if>
557 555 </select>
558 556 <select id="getServeDetailListCount" parameterType="com.lyms.platform.permission.model.ServiceListQuery" resultType="int">
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AreaCountFacade.java View file @ 0acef12
... ... @@ -1154,7 +1154,6 @@
1154 1154 */
1155 1155 public BaseResponse getServiceDetailList(ServiceListQuery param) {
1156 1156 param.setNeed("Y");
1157   - param.setSort("desc");
1158 1157 BaseResponse response = new BaseResponse();
1159 1158 setDefaultTime(param);
1160 1159 List<Map<String, Object>> mapList = getServiceDetailListMap(param);