Merge branch 'feature/mall_product' into test
commit
cedb9985ad
|
@ -10,7 +10,7 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<select id="findListPage" resultType="cn.iocoder.yudao.module.member.controller.admin.promoter.vo.PromoterRespVO">
|
<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 member_user b on a.user_id = b.id
|
||||||
left join system_dept c on c.id=a.dept_id
|
left join system_dept c on c.id=a.dept_id
|
||||||
<where>
|
<where>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
and b.mobile like CONCAT('%',#{data.mobile},'%')
|
and b.mobile like CONCAT('%',#{data.mobile},'%')
|
||||||
</if>
|
</if>
|
||||||
<if test="data.sourceType!=null">
|
<if test="data.sourceType!=null">
|
||||||
and b.source_type =#{data.sourceType}
|
and a.source_type =#{data.sourceType}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue