gaodd 4 mesi fa
parent
commit
11628e2857

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/lawEnforcementSupervision/modular/pgmsgraincollectstrategy/service/impl/BizPgmsGrainCollectStrategyServiceImpl.java

@@ -54,7 +54,7 @@ public class BizPgmsGrainCollectStrategyServiceImpl extends ServiceImpl<BizPgmsG
54 54
             queryWrapper.orderBy(true, bizPgmsGrainCollectStrategyPageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
55 55
                     StrUtil.toUnderlineCase(bizPgmsGrainCollectStrategyPageParam.getSortField()));
56 56
         } else {
57
-            queryWrapper.lambda().orderByAsc(BizPgmsGrainCollectStrategy::getId);
57
+            queryWrapper.lambda().orderByDesc(BizPgmsGrainCollectStrategy::getId);
58 58
         }
59 59
         return this.page(CommonPageRequest.defaultPage(), queryWrapper);
60 60
     }