diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java index 6ea35bca..28cbacb6 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java @@ -259,7 +259,9 @@ public class ExpertController extends JeecgController { } sbCompid.append(item.getCompid()); sbCompName.append(item.getCompName()); - sbStat.append(item.getStat()); + if("".equals(sbStat)){ + sbStat.append(item.getStat()); + } } // 将 StringBuilder 转换为 String Compid = sbCompid.toString(); @@ -447,7 +449,7 @@ public class ExpertController extends JeecgController { } return result; } - + /** * 导出excel模板