Commit 9aef28a4 authored by zhangsen's avatar zhangsen

巡检同步的基础sql修改

parent 7fabfddc
......@@ -131,7 +131,8 @@
amos_org_code <> ''
AND amos_org_code IS NOT NULL
AND biz_org_type = 'COMPANY'
) cou ON cou.amos_org_code = ci.org_code ]]>
and is_delete = 0
) cou ON cou.biz_org_code = ci.org_code ]]>
<where>
<if test="id != null">
ci.id = #{id}
......
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