|
|
@ -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); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|