Commit 2f1a8a3a authored by wulixian's avatar wulixian

Merge branch 'dev' into 'test'

转赠记录排序 See merge request !13
parents b96d7cec 7ed265e5
...@@ -55,6 +55,7 @@ public class UserAssetRecordServiceImpl extends ServiceImpl<UserAssetRecordMappe ...@@ -55,6 +55,7 @@ public class UserAssetRecordServiceImpl extends ServiceImpl<UserAssetRecordMappe
QueryWrapper<UserAssetRecord> qw = new QueryWrapper<>(); QueryWrapper<UserAssetRecord> qw = new QueryWrapper<>();
qw.eq("uid", uid); qw.eq("uid", uid);
qw.eq("coin", coin); qw.eq("coin", coin);
qw.orderByDesc("update_time");
String payment = assetRecordVo.getPayment(); String payment = assetRecordVo.getPayment();
if (StringUtil.isNullOrEmpty(skuId)) { if (StringUtil.isNullOrEmpty(skuId)) {
//查的积分 //查的积分
......
...@@ -22,5 +22,6 @@ ...@@ -22,5 +22,6 @@
select * select *
from user_asset_transfer_record from user_asset_transfer_record
where uid = #{uid} and goods_id = #{goodsId} and sku_id = #{skuId} and status = #{status} where uid = #{uid} and goods_id = #{goodsId} and sku_id = #{skuId} and status = #{status}
order by update_time desc
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment