修改积分商城订单记录时间排序 #51

Merged
root merged 1 commits from sjy-two into master 2024-10-17 11:24:42 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 138ddc13bb - Show all commits

View File

@ -1,5 +1,5 @@
<template> <template>
<Dialog v-model="dialogVisible" :title="dialogTitle" width="65%"> <Dialog v-model="dialogVisible" :title="dialogTitle" width="95%">
<Form <Form
ref="formRef" ref="formRef"
v-loading="formLoading" v-loading="formLoading"

View File

@ -136,6 +136,6 @@ public interface TradeOrderMapper extends BaseMapperX<TradeOrderDO> {
" inner join trade_order_item b on a.id = b.order_id " + " inner join trade_order_item b on a.id = b.order_id " +
" inner join (SELECT sort, label, value, dict_type, css_class FROM system_dict_data WHERE dict_type = 'trade_order_status') d on d.sort = a.status "+ " inner join (SELECT sort, label, value, dict_type, css_class FROM system_dict_data WHERE dict_type = 'trade_order_status') d on d.sort = a.status "+
" inner join product_spu c on b.spu_id = c.id " + " inner join product_spu c on b.spu_id = c.id " +
" where a.user_id = #{userId} and a.use_point > 0 ") " where a.user_id = #{userId} and a.use_point > 0 order by a.create_time ASC ")
List<AppPointOrderVO> getPointOrder(Long userId); List<AppPointOrderVO> getPointOrder(Long userId);
} }