|
|
@@ -1231,7 +1231,8 @@
|
|
|
a.release_date as releaseDate, a.audit_status as auditStatus, a.tech_broker_id as techBrokerId,
|
|
|
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,a.remark,
|
|
|
- ifnull(t.x,0) as orderIntentionCount ,ifnull(t2.x,0) as orderCount
|
|
|
+ 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 (select count(0) as x,tl.commodity_id from t_order tr
|
|
|
@@ -1244,6 +1245,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>
|
|
|
|