From 302a3db87c1cba30fc40ee30bd61716f1d928edf Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 31 Jul 2024 01:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=B5=9B=E4=B8=93=E5=AE=B6=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E7=8A=B6=E6=80=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/demo/expert/controller/ExpertController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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模板