修改问题

dev
王家东 5 months ago
parent 4131f91281
commit d2336dd20f
  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/service/IAnnualCompetitionProjectRegistrationService.java
  2. 5
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comptype/service/ICompTypeService.java
  3. 15
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/comptype/service/impl/CompTypeServiceImpl.java

@ -56,4 +56,6 @@ public interface IAnnualCompetitionProjectRegistrationService extends IService<A
void studentSignUp(StudentSignUpVo studentSignUpVo); void studentSignUp(StudentSignUpVo studentSignUpVo);
List<AnnualCompetitionProjectRegistration> getbyconoppid(String acpid); List<AnnualCompetitionProjectRegistration> getbyconoppid(String acpid);
String trueorflase(StudentSignUpVo studentSignUpVo);
} }

@ -4,6 +4,8 @@ package org.jeecg.modules.demo.comptype.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.comptype.entity.CompType; import org.jeecg.modules.demo.comptype.entity.CompType;
import java.util.List;
/** /**
* @Description: 比赛类型 * @Description: 比赛类型
* @Author: jeecg-boot * @Author: jeecg-boot
@ -12,4 +14,7 @@ import org.jeecg.modules.demo.comptype.entity.CompType;
*/ */
public interface ICompTypeService extends IService<CompType> { public interface ICompTypeService extends IService<CompType> {
List<String> getALL();
int getgeshu(String compTypeId);
} }

@ -4,10 +4,13 @@ package org.jeecg.modules.demo.comptype.service.impl;
import org.jeecg.modules.demo.comptype.entity.CompType; import org.jeecg.modules.demo.comptype.entity.CompType;
import org.jeecg.modules.demo.comptype.mapper.CompTypeMapper; import org.jeecg.modules.demo.comptype.mapper.CompTypeMapper;
import org.jeecg.modules.demo.comptype.service.ICompTypeService; import org.jeecg.modules.demo.comptype.service.ICompTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
/** /**
* @Description: 比赛类型 * @Description: 比赛类型
* @Author: jeecg-boot * @Author: jeecg-boot
@ -17,4 +20,16 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
@Service @Service
public class CompTypeServiceImpl extends ServiceImpl<CompTypeMapper, CompType> implements ICompTypeService { public class CompTypeServiceImpl extends ServiceImpl<CompTypeMapper, CompType> implements ICompTypeService {
@Autowired
private CompTypeMapper compTypeMapper;
@Override
public List<String> getALL() {
return compTypeMapper.getgetAL();
}
@Override
public int getgeshu(String compTypeId) {
return compTypeMapper.getgeshu(compTypeId);
}
} }

Loading…
Cancel
Save