|
|
@@ -1766,7 +1766,7 @@
|
|
|
|
|
|
select
|
|
|
a.id, a.boutique,a.name,a.category, a.audit_status as auditStatus,ifnull(t.x,0) as buyIntention,
|
|
|
- a.release_date as releaseDate,ifnull(i.y,0) as countInterest
|
|
|
+ a.release_date as releaseDate,a.create_time as createTime,ifnull(i.y,0) as countInterest
|
|
|
from achievement a
|
|
|
left join (select count(0) as x, tl.commodity_id from t_order tr
|
|
|
left join t_order_detail tl on tr.order_no=tl.order_no
|
|
|
@@ -1778,6 +1778,7 @@
|
|
|
<if test="ownerId != null">
|
|
|
and a.owner_id = #{ownerId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
+ order by a.create_time desc
|
|
|
<if test="page_sql!=null">
|
|
|
${page_sql}
|
|
|
</if>
|