比赛专家编辑状态问题

main
Gitea 4 months ago
parent 8f5d582027
commit 302a3db87c
  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java

@ -259,8 +259,10 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
} }
sbCompid.append(item.getCompid()); sbCompid.append(item.getCompid());
sbCompName.append(item.getCompName()); sbCompName.append(item.getCompName());
if("".equals(sbStat)){
sbStat.append(item.getStat()); sbStat.append(item.getStat());
} }
}
// 将 StringBuilder 转换为 String // 将 StringBuilder 转换为 String
Compid = sbCompid.toString(); Compid = sbCompid.toString();
CompName = sbCompName.toString(); CompName = sbCompName.toString();

Loading…
Cancel
Save