分销记录多条修复

This commit is contained in:
张松 2025-11-06 15:50:43 +08:00
parent 9a2d058b63
commit e4a0407016
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<mapper namespace="com.czg.service.market.mapper.MkDistributionFlowMapper">
<select id="pageInfo" resultType="com.czg.market.vo.MkDistributionFlowVO">
select a.*, b.phone, c.phone as sourcePhone, e.shop_name from mk_distribution_flow as a
select distinct a.*, b.phone, c.phone as sourcePhone, e.shop_name from mk_distribution_flow as a
left join mk_distribution_user as d on d.id=a.distribution_user_id
left join tb_shop_info as e on e.id=a.shop_id
left join tb_shop_user as b on a.shop_user_id=b.id