Quellcode durchsuchen

授权平台操作日志排序问题修复

王鑫刚 vor 2 Tagen
Ursprung
Commit
cd34a954e1

+ 1 - 0
src/main/java/cn/hanghui/outapi/platform/tenant/service/impl/SysOperLogServiceImpl.java

@@ -65,6 +65,7 @@ public class SysOperLogServiceImpl extends BaseController implements SysOperLogS
         if(AccountTypeEnum.AUTH.getCode().equals(data.getAccountType())){
             wrapper.eq(SysOperLog::getAccountId, data.getId());
         }
+        wrapper.orderByDesc(SysOperLog::getId);
 
         return wrapper;
     }