Преглед на файлове

update->修复维保计划分页乱序问题。每次查询某一页的结果不一致。

wanghaicheng преди 4 години
родител
ревизия
cbe4f59689
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lift-business-service/src/main/resources/mapper/maintenance/MaintenancePlanMapper.xml

+ 1 - 1
lift-business-service/src/main/resources/mapper/maintenance/MaintenancePlanMapper.xml

@@ -115,7 +115,7 @@
 		<if test="request.registrationCode!=null and request.registrationCode!=''">
 			AND l.registration_code LIKE #{request.registrationCode,jdbcType=VARCHAR}
 		</if>
-		ORDER BY planDate,mp.lift_id
+		ORDER BY planDate,plr.relevance_id
 	</select>
 
 	<select id="queryPlanListByIds" parameterType="java.util.Map" resultMap="BaseResultMap">