瀏覽代碼

修改内容:区服战力排行修改bug

lth 1 年之前
父節點
當前提交
bb80b8aa0e

+ 4 - 0
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/RoleManageServiceImpl.java

@@ -545,6 +545,10 @@ public class RoleManageServiceImpl implements IRoleManageService {
         dao.execute(countSql);
         pager.setRecordCount(countSql.getInt());
         //排序条件
+        if ("min_server_start_days".equals(dto.getSortFiled())) {
+            //原始区服没有 最小区服排序条件
+            dto.setSortFiled(null);
+        }
         if (StringUtils.isBlank(dto.getSortType())) {
             dto.setSortType(OrderByEnum.DESC.getOrderType());
         }