维度提示 信息调整

This commit is contained in:
king
2026-04-11 17:37:50 +08:00
parent fc05eea975
commit 1f37b77c90

View File

@@ -51,7 +51,7 @@ public class zhxsqkPlugin implements ReportAroundAdvicePlugin {
}
List<String> groupFieldList = Arrays.asList(params.get("Group by").toString().split(","));
if(!groupFieldList.contains("useYear") && !params.containsKey("useYear")){
throw new lideeYunJiException("维度“年” 和 查询条件“年” 不能同时为空!");
throw new lideeYunJiException("维度选中时,“年”维度不能为空!");
}
Page<Object> page = PageHelper.startPage(Integer.parseInt(params.get("pageNo").toString()), Integer.parseInt(params.get("pageSize").toString()));
if(groupFieldList.contains("useMonth") || params.containsKey("useMonth")){