diff --git a/lidee-core/src/main/java/com/lideeyunji/core/framework/enhance/example/report/xtsy/ZhxsqkPlugin.java b/lidee-core/src/main/java/com/lideeyunji/core/framework/enhance/example/report/xtsy/ZhxsqkPlugin.java index c40c7f5..63db47a 100644 --- a/lidee-core/src/main/java/com/lideeyunji/core/framework/enhance/example/report/xtsy/ZhxsqkPlugin.java +++ b/lidee-core/src/main/java/com/lideeyunji/core/framework/enhance/example/report/xtsy/ZhxsqkPlugin.java @@ -2,6 +2,7 @@ package com.lideeyunji.core.framework.enhance.example.report.xtsy; import cn.hutool.core.bean.BeanUtil; +import cn.hutool.core.collection.ListUtil; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; @@ -52,7 +53,7 @@ public class ZhxsqkPlugin implements ReportAroundAdvicePlugin { if (params.containsKey("goodsName")) { throw new lideeYunJiException("在选择维度时,“产品名称”不能有值!"); } - if(params.containsKey("column") && !groupFieldList.contains(params.get("column").toString())){ + if(params.containsKey("column") && ListUtil.toList("stdGoodsName", "customName", "salerName").contains(params.get("column").toString()) && !groupFieldList.contains(params.get("column").toString())){ params.remove("column"); params.remove("order"); }