|
|
@ -40,7 +40,7 @@ public interface BsUserSpreadRelMapperExt { |
|
|
|
" from bs_user_spread_power a" + |
|
|
|
" from bs_user_spread_power a" + |
|
|
|
" LEFT JOIN bs_user_spread_account b on b.user_id = a.user_id" + |
|
|
|
" LEFT JOIN bs_user_spread_account b on b.user_id = a.user_id" + |
|
|
|
" LEFT JOIN bs_user c on c.id = a.user_id" + |
|
|
|
" LEFT JOIN bs_user c on c.id = a.user_id" + |
|
|
|
" LEFT JOIN bs_user_spread_rel d on d.parent_user_id = b.id" + |
|
|
|
" LEFT JOIN bs_user_spread_rel d on d.parent_user_id = a.user_id" + |
|
|
|
" where 1 = 1" + |
|
|
|
" where 1 = 1" + |
|
|
|
" <if test='param.phone != null'> and c.phone like concat('%',#{param.phone},'%') </if>" + |
|
|
|
" <if test='param.phone != null'> and c.phone like concat('%',#{param.phone},'%') </if>" + |
|
|
|
" GROUP BY c.id" + |
|
|
|
" GROUP BY c.id" + |
|
|
|