比赛专家编辑 状态BUG

main
Gitea 4 months ago
parent cfbfe05809
commit 9e7c468932
  1. 8
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java

@ -268,7 +268,13 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
// 现在 Compid, CompName 和 Stat 包含了逗号分隔的值 // 现在 Compid, CompName 和 Stat 包含了逗号分隔的值
model.setCompName(CompName); model.setCompName(CompName);
model.setCompid(Compid); model.setCompid(Compid);
model.setStat(Stat); if(Stat.indexOf(",")==-1){
model.setStat(Stat);
}else{
Stat = Stat.substring(0,Stat.indexOf(","));
model.setStat(Stat);
}
return Result.OK(model); return Result.OK(model);
} }

Loading…
Cancel
Save