Commit 16bb6baa authored by tangwei's avatar tangwei

修改bug

parent bd47843e
......@@ -12,7 +12,8 @@
LEFT JOIN p_route_point_item prpi ON prpi.point_input_item_id = pii.id,
(
SELECT
id AS route_point_id
id AS route_point_id,
exclude_items
FROM
p_route_point rp
<where>
......@@ -22,6 +23,7 @@
) prp
WHERE
prp.route_point_id = prpi.route_point_id
AND IF(prp.route_point_id, NOT FIND_IN_SET(pii.id,IFNULL(prp.exclude_items,'')),' 1=1 ')
</select>
<resultMap id="routePointInputItemMap" type="com.yeejoin.amos.patrol.dao.entity.PointInputItem">
......
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