@Service public class DictServiceImpl extends com.baomidou.mybatisplus.service.impl.ServiceImpl<DictMapper,Dict> implements IDictService
Constructor and Description |
---|
DictServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDict(String dictCode,
String dictName,
String dictTips,
String dictValues)
添加字典
|
void |
delteDict(Integer dictId)
删除字典
|
void |
editDict(Integer dictId,
String dictCode,
String dictName,
String dictTips,
String dicts)
编辑字典
|
List<Map<String,Object>> |
list(String conditiion)
查询字典列表
|
List<Dict> |
selectByCode(String code)
根据编码获取词典列表
|
List<Dict> |
selectByParentCode(String code)
根据父类编码获取词典列表
|
currentModelClass, delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, retBool, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, sqlSessionBatch, sqlStatement, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet
@Transactional public void addDict(String dictCode, String dictName, String dictTips, String dictValues)
IDictService
addDict
in interface IDictService
@Transactional public void editDict(Integer dictId, String dictCode, String dictName, String dictTips, String dicts)
IDictService
editDict
in interface IDictService
@Transactional public void delteDict(Integer dictId)
IDictService
delteDict
in interface IDictService
public List<Dict> selectByCode(String code)
IDictService
selectByCode
in interface IDictService
public List<Dict> selectByParentCode(String code)
IDictService
selectByParentCode
in interface IDictService
public List<Map<String,Object>> list(String conditiion)
IDictService
list
in interface IDictService
Copyright © 2018. All rights reserved.