|
|
@@ -1233,6 +1233,11 @@
|
|
|
ui.username as iOwnerName, ui.province, ui.city, ui.area, u.email as iOwnerEmail,
|
|
|
ui.id_number as iOwnerIdNumber, u.mobile as iOwnerMobile,j.easemob_name as easemobName,
|
|
|
ifnull(t.x,0) as orderIntentionCount ,ifnull(t2.x,0) as orderCount
|
|
|
+
|
|
|
+ ui.id_number as iOwnerIdNumber, u.mobile as iOwnerMobile,j.easemob_name as easemobName,a.remark,
|
|
|
+ ifnull(t.x,0) as orderIntentionCount ,ifnull(t2.x,0) as orderCount,ifnull(mm.effective,0) hot,a.boutique,
|
|
|
+ a.international_flag as internationalFlag
|
|
|
+
|
|
|
from achievement a
|
|
|
left join user_identity ui on a.owner_id = ui.uid
|
|
|
left join field_glossory f on a.field_a=f.id
|
|
|
@@ -1247,6 +1252,7 @@
|
|
|
group by tl.commodity_id) t2 on a.id=t2.commodity_id
|
|
|
left join jpush_easemob_account j on a.owner_id=j.uid
|
|
|
left join user u on u.id = a.owner_id
|
|
|
+ left join marketing_management mm on a.id = mm.product_id
|
|
|
where a.id =#{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
|