@@ -18,7 +18,7 @@ public interface ClubMapper {
List<ClubVo> getClubList(@Param("authUserId") Integer authUserId, @Param("authParty") String authParty);
List<ClubUserVo> getClubUserList(@Param("authUserId") Integer authUserId, @Param("mobile") String mobile, String name, @Param("status") Integer status);
-
+ List<ClubUserVo> getmobile(Integer authUserId);
void insertClubUser(ClubUserPo clubUser);
List<WxClubListVo> getWxClubList(@Param("authUserId") Integer authUserId, @Param("authParty") String authParty, @Param("provinceId") Integer provinceId, @Param("cityId") Integer cityId, @Param("townId") Integer townId, @Param("lng") Double lng, @Param("lat") Double lat);
@@ -2150,7 +2150,7 @@ public class AuthServiceImpl implements AuthService {
public void smsSend(Integer authUserId){
//获取手机号码
// List<RossChallengeRoundVo> roundByAuthUserID = authMapper.getRoundByAuthUserID(authUserId);
- List<ClubUserVo> clubUserList = clubMapper.getClubUserList(authUserId, null, null, null);
+ List<ClubUserVo> clubUserList = clubMapper.getmobile(authUserId);
//获取供应商名称
String authParty=authMapper.getAuthparty(authUserId);
if(authUserId==12){
@@ -74,6 +74,12 @@
</if>
order by cu.addTime desc
</select>
+ <select id="getmobile" resultType="com.caimei.model.vo.ClubUserVo">
+ select
+ distinct mobile
+ from cm_brand_club_user
+ where authUserId = #{authUserId}
+ </select>
<select id="getWxClubList" resultType="com.caimei.model.vo.WxClubListVo">
select id as authId, authParty as authParty,concat(ifnull(p.name,''),ifnull(c.name,''),ifnull(t.name,'')) as area,a.address,a.mobile,a.logo,
ifnull(round(st_distance(point(a.lng,a.lat),point(#{lng},#{lat}))*111195/1000,2),99999) as distance