| | |
| | | package com.lf.server.service.data; |
| | | |
| | | import com.lf.server.entity.ctrl.KeyValueEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.data.DictMapper; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<DictEntity> selectAll() { |
| | | return dictMapper.selectAll(); |
| | | } |
| | | |
| | | @Override |
| | | public DictEntity selectById(int id) { |
| | | return dictMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<KeyValueEntity> selectDictTab() { |
| | | return dictMapper.selectDictTab(); |
| | | public List<TabEntity> selectDictTab(String name, String field) { |
| | | name = StringHelper.getLikeStr(name); |
| | | |
| | | return dictMapper.selectDictTab(name, field); |
| | | } |
| | | |
| | | @Override |