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 28cbacb6..e375d25e 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,9 +259,7 @@ public class ExpertController extends JeecgController { } sbCompid.append(item.getCompid()); sbCompName.append(item.getCompName()); - if("".equals(sbStat)){ - sbStat.append(item.getStat()); - } + sbStat.append(item.getStat()); } // 将 StringBuilder 转换为 String Compid = sbCompid.toString();