提示信息调整

This commit is contained in:
king
2026-04-14 11:38:15 +08:00
parent b76ca502d2
commit 0b49f8c99c
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ public class zhxsqkLineReportEnhance implements ReportBeforeAdvicePlugin {
Map<String, Object> params = enhanceContext.getParam().getParams();
if (params.containsKey("Group by")) {
if(params.containsKey("goodsname")){
throw new lideeYunJiException("在选择维度时,“品名称”不能有值!");
throw new lideeYunJiException("在选择维度时,“品名称”不能有值!");
}
List<String> groupFieldList = Arrays.asList(params.get("Group by").toString().split(","));
String sql;

View File

@@ -50,7 +50,7 @@ public class zhxsqkPlugin implements ReportAroundAdvicePlugin {
throw new lideeYunJiException("年月范围 不能为空!");
}
if (params.containsKey("goodsName")) {
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") && !groupFieldList.contains("useYear")){