Merge remote-tracking branch 'remotes/origin/20260204'
# Conflicts: # lidee-core/target/classes/com/lideeyunji/core/framework/service/impl/FrameServiceImpl.class # lidee-service/lidee-service-infra-biz/target/generated-sources/annotations/com/lideeyunji/service/infra/config/convert/codegen/CodegenConvertImpl.java # lidee-service/lidee-service-infra-biz/target/generated-sources/annotations/com/lideeyunji/service/infra/config/convert/config/ConfigConvertImpl.java # lidee-service/lidee-service-infra-biz/target/generated-sources/annotations/com/lideeyunji/service/infra/config/convert/file/FileConfigConvertImpl.java # lidee-service/lidee-service-infra-biz/target/generated-sources/annotations/com/lideeyunji/service/infra/config/convert/redis/RedisConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/auth/AuthConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/logger/OperateLogConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/mail/MailAccountConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/oauth2/OAuth2OpenConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/social/SocialUserConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/tenant/TenantConvertImpl.java # lidee-service/lidee-service-system-biz/target/generated-sources/annotations/com/lideeyunji/service/system/config/convert/user/UserConvertImpl.java
This commit is contained in:
@@ -1066,6 +1066,9 @@ public class FrameServiceImpl implements IFrameService {
|
||||
List<Map<String, String>> whereFieldMapList = lideeYunJiMapper.getReportWhereFieldList(reportEntity.getId());
|
||||
Func.handleWhere(whereFieldMapList, queryWrapper, params);
|
||||
|
||||
//处理分组group by=================
|
||||
Func.handleGroupBy(queryWrapper, params);
|
||||
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
|
||||
@@ -906,6 +906,15 @@ public class Func extends FuncBase {
|
||||
return formatAreaStr(jsonStr);
|
||||
}
|
||||
|
||||
//处理分组
|
||||
public static void handleGroupBy(SqlInfoQueryWrapper.Wrapper wrapper, Map<String, Object> params){
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//处理排序
|
||||
public static void handleOrderBy(SqlInfoQueryWrapper.Wrapper wrapper, Map<String, Object> params, String orderbyConfigStr) {
|
||||
@@ -1138,6 +1147,11 @@ public class Func extends FuncBase {
|
||||
});
|
||||
}
|
||||
}
|
||||
if(params.containsKey("Group by")){
|
||||
String[] str=params.get("Group by").toString().split(",");
|
||||
wrapper.groupByColumns(str);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user