| | |
| | | package com.dsh.guns.modular.system.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.course.mapper.TOperatorMapper; |
| | | import com.dsh.guns.modular.system.model.Bank; |
| | | import com.dsh.guns.modular.system.model.CoachChangeStateVO; |
| | | import com.dsh.guns.modular.system.model.TOperator; |
| | | import com.dsh.guns.modular.system.service.TOperatorService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TOperatorServiceImpl extends ServiceImpl<TOperatorMapper, TOperator> implements TOperatorService { |
| | | |
| | | @Autowired |
| | | private TOperatorMapper tOperatorMapper; |
| | | @Override |
| | | public List<Map<String, Object>> listAll(Page<Map<String, Object>> page,String userName, String phone,Integer type) { |
| | | return this.baseMapper.listAll(page,userName,phone,type); |
| | | } |
| | | |
| | | @Override |
| | | public int changeState(CoachChangeStateVO vo) { |
| | | return this.baseMapper.changeState(vo.getIds(),vo.getState()); |
| | | } |
| | | |
| | | @Override |
| | | public List<Bank> getBankList() { |
| | | |
| | | return tOperatorMapper.getBankList(); |
| | | } |
| | | } |