Merge remote-tracking branch 'origin/test'
commit
46230f3bcb
|
@ -10,7 +10,7 @@
|
|||
-->
|
||||
|
||||
<select id="findListPage" resultType="cn.iocoder.yudao.module.member.controller.admin.promoter.vo.PromoterRespVO">
|
||||
select a.id,a.user_id,a.dept_id,b.nickname,b.status,b.mobile,c.parent_organization_name as 'orgName' from member_promoter a
|
||||
select a.id,a.user_id,a.dept_id,b.nickname,b.status,b.mobile,c.parent_organization_name as 'orgName',a.source_type from member_promoter a
|
||||
left join member_user b on a.user_id = b.id
|
||||
left join system_dept c on c.id=a.dept_id
|
||||
<where>
|
||||
|
@ -27,7 +27,7 @@
|
|||
and b.mobile like CONCAT('%',#{data.mobile},'%')
|
||||
</if>
|
||||
<if test="data.sourceType!=null">
|
||||
and b.source_type =#{data.sourceType}
|
||||
and a.source_type =#{data.sourceType}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue