Commit 7bafd026 authored by maoying's avatar maoying

修改无计划巡检检查项查询null引起的问题

parent 6276c52f
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
LEFT JOIN p_route_point prp ON prp.point_id = pi.point_id LEFT JOIN p_route_point prp ON prp.point_id = pi.point_id
WHERE WHERE
pi.point_id = #{pointId} pi.point_id = #{pointId}
AND IF(prp.id, NOT FIND_IN_SET(pi.id,prp.exclude_items),' 1=1 ') AND IF(prp.id, NOT FIND_IN_SET(pi.id,IFNULL(prp.exclude_items,'')),' 1=1 ')
ORDER BY ORDER BY
pi.order_no pi.order_no
</select> </select>
......
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