手机号

This commit is contained in:
苏竹红
2023-06-20 15:43:56 +08:00
parent 5731e874f1
commit 80336c5ce0
6 changed files with 31 additions and 6 deletions

View File

@@ -401,6 +401,7 @@
<select id="getPublicSeaLineList" resultType="com.cool.store.dto.partner.PublicSeaLineDTO">
select
a.id as lineId,
a.create_time as createTime,
b.partner_id as partner_id,
b.mobile as mobile,
@@ -408,7 +409,7 @@
b.want_shop_area as wantShopArea,
b.accept_adjust_type as acceptAdjustType
FROM hy_partner_line_info a inner JOIN hy_partner_user_info b on a.partner_id = b.partner_id
where a.line_status = 1
where a.line_status = 0
<if test="userNameKeyword!=null and userNameKeyword!=''">
and b.username like concat('%',#{userNameKeyword},'%')
</if>
@@ -519,7 +520,7 @@
</select>
<select id="getFollowCountList" resultType="com.cool.store.dto.partner.LineCountDTO">
SELECT partner_id, COUNT(1) AS num_of_leads
SELECT partner_id, IFNULL(COUNT(1), 0) AS followCount
FROM hy_partner_line_info
GROUP BY partner_id;
</select>