Commit 350a889e authored by lisong's avatar lisong

添加排序

parent 20294f64
......@@ -1464,13 +1464,14 @@
</select>
<select id="selectRoutePointList" resultType="com.yeejoin.amos.patrol.dao.entity.Point">
SELECT * from p_point
WHERE route_id is null
WHERE route_id is null and is_delete = 0
<if test="name != null and name != ''">
AND name like concat('%', #{name}, '%')
</if>
<if test="name != null and name != ''">
AND point_no like concat('%', #{pointNo}, '%')
</if>
ORDER BY create_date
LIMIT #{number}, #{size}
</select>
<select id="countRoutePointList" resultType="java.lang.Integer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment