diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/service/impl/AnnualCompetitionProjectRegistrationServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/service/impl/AnnualCompetitionProjectRegistrationServiceImpl.java index 08c523c0..f70a1e03 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/service/impl/AnnualCompetitionProjectRegistrationServiceImpl.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/service/impl/AnnualCompetitionProjectRegistrationServiceImpl.java @@ -281,4 +281,53 @@ public class AnnualCompetitionProjectRegistrationServiceImpl extends ServiceImpl } } + + //这个主要适用于 + /* @Override + public String trueorflase(StudentSignUpVo studentSignUpVo) { + AnnualCompPoint annualCompPoint = iAnnualCompPointService.getById(studentSignUpVo.getId()); + LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + //用于判断个人赛还是团队赛,个人赛是N团队赛是Y + String flag ="0"; + if (StringUtils.equals("Y", annualCompPoint.getEntryForm())) { + String[] numbersArray = studentSignUpVo.getTeamManagementList().split(","); + List numbersList = Arrays.asList(numbersArray); + //查询是否已经报名过了 + for(int i=0;i=1){ + flag =true; + } else if (istrue==null){ + flag = false; + } else { + flag = false; + } + return flag; + }*/ + + }