|
|
@@ -24,12 +24,15 @@
|
|
|
B.custservice_name,
|
|
|
B.team_id,
|
|
|
B.work_wx_login_status,
|
|
|
+ B.mobile_no,
|
|
|
+ MCA.name as work_wx_corp_name,
|
|
|
C.station_name,
|
|
|
D.domain
|
|
|
FROM pan_fosterwx_cash_mobile as A
|
|
|
left join pan_fosterwx_mobile as B on A.mobile_id = B.id
|
|
|
left join pan_fosterwx_station as C on A.station_id = C.id
|
|
|
left join pan_fosterwx_domain as D on A.domain_id = D.id and D.status = 1
|
|
|
+ left join `mochat_java`.mc_corp as MCA on B.work_wx_corp_id = MCA.id
|
|
|
<where>
|
|
|
<if test="params.groupId != null">and A.group_id = #{params.groupId}</if>
|
|
|
<if test="params.stationId != null">and A.station_id = #{params.stationId}</if>
|