Jelajahi Sumber

PC维保计划,新增一个排序条件。没有多条件,分页查询会查重复

wanghaicheng 4 tahun lalu
induk
melakukan
f3915ea244

+ 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
+		ORDER BY planDate,mp.lift_id
 	</select>
 
 	<select id="queryPlanListByIds" parameterType="java.util.Map" resultMap="BaseResultMap">