Commit cf0161f1 authored by limei's avatar limei

sql修改

parent d973a689
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<if test="roleName == '设计单位'"> <if test="roleName == '设计单位'">
and design_unit_id = #{companyId} and design_unit_id = #{companyId}
</if> </if>
<if test="codes != null "> <if test="codes != null and codes.size > 0">
<if test="roleName == '监察部门' or roleName == '监检机构'"> <if test="roleName == '监察部门' or roleName == '监检机构'">
and install_region_code in and install_region_code in
<foreach collection="codes" item = "item" index="index" open="(" separator="," close=")"> <foreach collection="codes" item = "item" index="index" open="(" separator="," close=")">
......
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