|
|
@@ -146,8 +146,8 @@
|
|
|
</select>
|
|
|
<select id="selectByOrderNo" resultType="com.goafanti.order.bo.TDunLogListBo">
|
|
|
select a.id, a.dun_id as dunId, b.name as dumBy, a.dum_time as dumTime, a.remarks,a.type,
|
|
|
- a.attachment_url attachmentUrl, c.order_no orderNo,c.buyer_name userName,a.create_time
|
|
|
+ a.attachment_url attachmentUrl, c.order_no orderNo,c.buyer_name userName,a.create_time createTime
|
|
|
from t_dun_log a left join admin b on a.dum_by=b.id left join t_order_mid c on a.order_no =c.order_no
|
|
|
- where c.order_no = #{orderNo} order by a.create_time
|
|
|
+ where c.order_no = #{orderNo} order by a.create_time desc
|
|
|
</select>
|
|
|
</mapper>
|