| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.helper.AesHelper; |
| | | import com.lf.server.helper.ClassHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.all.BaseQueryMapper; |
| | | import com.lf.server.mapper.all.BasicMapper; |
| | | import com.lf.server.mapper.all.GeomBaseMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | * @author WWW |
| | | */ |
| | | @Service |
| | | public class BaseQueryService { |
| | | public class BaseQueryService implements BaseQueryMapper { |
| | | @Autowired |
| | | BaseQueryMapper baseQueryMapper; |
| | | |
| | | /** |
| | | * 表名Map |
| | | */ |
| | |
| | | |
| | | return tabName; |
| | | } |
| | | |
| | | @Override |
| | | public List<IdNameEntity> selectUserFuzzy(String name) { |
| | | name = StringHelper.getLikeStr(name); |
| | | |
| | | return baseQueryMapper.selectUserFuzzy(name); |
| | | } |
| | | |
| | | @Override |
| | | public List<IdNameEntity> selectDepFuzzy(String name) { |
| | | name = StringHelper.getLikeStr(name); |
| | | |
| | | return baseQueryMapper.selectDepFuzzy(name); |
| | | } |
| | | } |