소스 검색

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">