Commit 57d36fb5 authored by tianyiming's avatar tianyiming

监管列表查询bug修改

parent db3c2085
......@@ -1166,7 +1166,7 @@
and date_le(CAST(audit_pass_date as date),#{dto.endDate})
</if>
<if test="dto.companyName != null and dto.companyName != ''">
and tjur.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
and tjvi.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
</if>
<if test="dto.superviseUnitName != null and dto.superviseUnitName != ''">
and tjvi.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
......@@ -1211,10 +1211,10 @@
and date_le(CAST(audit_pass_date as date),#{dto.endDate})
</if>
<if test="dto.companyName != null and dto.companyName != ''">
and tjur.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
and tjcrr.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
</if>
<if test="dto.superviseUnitName != null and dto.superviseUnitName != ''">
and tjvi.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
and tjcrr.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
</if>
<if test="dto.equListCode != null and dto.equListCode != ''">
and ri.EQU_LIST = #{dto.equListCode}
......@@ -1794,7 +1794,7 @@
and date_le(CAST(audit_pass_date as date),#{dto.endDate})
</if>
<if test="dto.companyName != null and dto.companyName != ''">
and tjur.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
and tjvi.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
</if>
<if test="dto.superviseUnitName != null and dto.superviseUnitName != ''">
and tjvi.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
......@@ -1839,10 +1839,10 @@
and date_le(CAST(audit_pass_date as date),#{dto.endDate})
</if>
<if test="dto.companyName != null and dto.companyName != ''">
and tjur.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
and tjcrr.use_unit_name like CONCAT('%', #{dto.companyName}, '%')
</if>
<if test="dto.superviseUnitName != null and dto.superviseUnitName != ''">
and tjvi.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
and tjcrr.receive_org_name like CONCAT('%', #{dto.superviseUnitName}, '%')
</if>
<if test="dto.equListCode != null and dto.equListCode != ''">
and ri.EQU_LIST = #{dto.equListCode}
......
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