Commit 84c9229b authored by litengwei's avatar litengwei

巡检代码迁移

parent 63fc61a1
...@@ -88,10 +88,10 @@ ...@@ -88,10 +88,10 @@
LEFT JOIN s_user u ON r.user_id = u.id --> LEFT JOIN s_user u ON r.user_id = u.id -->
WHERE WHERE
r.is_delete = 0 r.is_delete = 0
<if test="name!=null">AND r.name LIKE CONCAT('%', #{name}, '%')</if> <if test="name!=null">AND r.name LIKE CONCAT('%', #{name}::text, '%')</if>
<if test="remark!=null">AND r.remark LIKE CONCAT('%', #{remark}, '%')</if> <if test="remark!=null">AND r.remark LIKE CONCAT('%', #{remark}::text, '%')</if>
<if test="orgCode!=null">AND r.org_Code = #{orgCode}</if> <if test="orgCode!=null">AND r.org_Code = #{orgCode}</if>
<if test="bizOrgCode!=null">AND r.biz_org_code LIKE CONCAT( #{bizOrgCode}, '%') </if> <if test="bizOrgCode!=null">AND r.biz_org_code LIKE CONCAT( #{bizOrgCode}::text, '%') </if>
<!-- <if test="deptId!=null">AND r.dept_id = #{deptId}</if> --> <!-- <if test="deptId!=null">AND r.dept_id = #{deptId}</if> -->
<choose> <choose>
......
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