|
|
@ -144,7 +144,7 @@ public class CompController extends JeecgController<Comp, ICompService> { |
|
|
|
return Result.OK(pageList); |
|
|
|
return Result.OK(pageList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -167,6 +167,10 @@ public class CompController extends JeecgController<Comp, ICompService> { |
|
|
|
if (compListsss.size()>0){ |
|
|
|
if (compListsss.size()>0){ |
|
|
|
return Result.error("这个比赛名称已存在,请确定比赛名称是否正确"); |
|
|
|
return Result.error("这个比赛名称已存在,请确定比赛名称是否正确"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
List<Comp> complistbuycompadmin = compService.query().eq("comp_admin",comp.getCompAdmin()).list(); |
|
|
|
|
|
|
|
if (complistbuycompadmin.size()>0){ |
|
|
|
|
|
|
|
return Result.error("该用户已经绑定过比赛了,请选择其他用户。"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<String> list = Arrays.asList(comp.getCompAdmin().split(",")); |
|
|
|
List<String> list = Arrays.asList(comp.getCompAdmin().split(",")); |
|
|
|