|
|
@@ -63,6 +63,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join qw_user qu on qu.qw_user_id = gc.owner and qu.is_del = 0 and qu.corp_id = gc.corp_id
|
|
|
left join company_user cu on cu.user_id = qu.company_user_id
|
|
|
<where>
|
|
|
+ <if test="userName != null and userName != ''">
|
|
|
+ and cu.user_name like concat('%', #{userName}, '%')
|
|
|
+ </if>
|
|
|
<if test="corpId != null and corpId != ''">
|
|
|
and gc.corp_id = #{corpId}
|
|
|
</if>
|