| | |
| | | */ |
| | | @Service |
| | | public class DictService implements DictMapper { |
| | | |
| | | @Autowired |
| | | DictMapper dictMapper; |
| | | |
| | | @Override |
| | | public Integer selectCount(String tab) { |
| | | return dictMapper.selectCount(tab); |
| | | } |
| | | |
| | | @Override |
| | | public List<DictEntity> selectByPage(String tab, Integer limit, Integer offset) { |
| | | return dictMapper.selectByPage(tab, limit, offset); |
| | | } |
| | | |
| | | @Override |
| | | public Integer insertDict(DictEntity dictEntity) { |
| | |
| | | public List<DictEntity> selectDictAll() { |
| | | return dictMapper.selectDictAll(); |
| | | } |
| | | |
| | | @Override |
| | | public List<DictEntity> selectDictTab() { |
| | | return dictMapper.selectDictTab(); |
| | | } |
| | | } |