Procházet zdrojové kódy

积分明细按时间倒序排序

tags/V1.8.0^2
douzhenjun před 1 rokem
rodič
revize
5deaf0cc40
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/UserPointsDetailServiceImpl.java

+ 2
- 1
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/UserPointsDetailServiceImpl.java Zobrazit soubor

@@ -86,7 +86,8 @@ public class UserPointsDetailServiceImpl extends BaseServiceImpl<UserPointsDetai
.eq(UserPointsDetail::getTenantId, tenantId)
.eq(UserPointsDetail::getOpenid, openid)
.eq(UserPointsDetail::getMark, 1)
.isNotNull(UserPointsDetail::getChangeName));
.isNotNull(UserPointsDetail::getChangeName)
.orderByDesc(UserPointsDetail::getCreateTime));
// userPointsDetailList.convert(x -> {
// if(x.getType().equals(2)){
// x.setPointsChange(-1*x.getPointsChange());

Načítá se…
Zrušit
Uložit