修改供应商入驻审核列表数据查询错误的问题

This commit is contained in:
yangjun 2026-02-24 10:59:08 +08:00
parent e475a3a177
commit 0bf3993ba4
1 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@
</foreach> </foreach>
</if> </if>
<if test="title != null and title != ''"> <if test="title != null and title != ''">
and o.com_name like concat('%',#{title},'%') and d.depart_name like concat('%',#{title},'%')
</if> </if>
</select> </select>
<select id="getSuppliersOrgInfo" resultType="com.nu.entity.SuppliersOrgAllEntity"> <select id="getSuppliersOrgInfo" resultType="com.nu.entity.SuppliersOrgAllEntity">
@ -49,7 +49,7 @@
</foreach> </foreach>
</if> </if>
<if test="title != null and title != ''"> <if test="title != null and title != ''">
and o.com_name like concat('%',#{title},'%') and d.depart_name like concat('%',#{title},'%')
</if> </if>
</select> </select>
@ -57,12 +57,12 @@
select select
s.id as id, s.id as id,
d.id as org_id, d.id as org_id,
o.com_name as depart_name, d.depart_name as depart_name,
d.org_code, d.org_code,
concat(d.url,d.context_path) as server_url, concat(d.url,d.context_path) as server_url,
o.org_leader, d.org_leader,
o.org_leader_phone, d.org_leader_phone,
o.org_address d.org_address
,s.`status` as suppliers_status ,s.`status` as suppliers_status
,s.audit_content ,s.audit_content
,s.create_time ,s.create_time