|
@@ -9,14 +9,14 @@ import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
/**
|
|
|
* 字典表 数据层
|
|
|
- *
|
|
|
+ *
|
|
|
|
|
|
*/
|
|
|
public interface SysDictDataMapper
|
|
|
{
|
|
|
/**
|
|
|
* 根据条件分页查询字典数据
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictData 字典数据信息
|
|
|
* @return 字典数据集合信息
|
|
|
*/
|
|
@@ -24,7 +24,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 根据字典类型查询字典数据
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictType 字典类型
|
|
|
* @return 字典数据集合信息
|
|
|
*/
|
|
@@ -32,7 +32,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 根据字典类型和字典键值查询字典数据信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictType 字典类型
|
|
|
* @param dictValue 字典键值
|
|
|
* @return 字典标签
|
|
@@ -41,7 +41,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 根据字典数据ID查询信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictCode 字典数据ID
|
|
|
* @return 字典数据
|
|
|
*/
|
|
@@ -49,7 +49,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 查询字典数据
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictType 字典类型
|
|
|
* @return 字典数据
|
|
|
*/
|
|
@@ -57,7 +57,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 通过字典ID删除字典数据信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictCode 字典数据ID
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -65,7 +65,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 批量删除字典数据信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictCodes 需要删除的字典数据ID
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -73,7 +73,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 新增字典数据信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictData 字典数据信息
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -81,7 +81,7 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 修改字典数据信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param dictData 字典数据信息
|
|
|
* @return 结果
|
|
|
*/
|
|
@@ -89,13 +89,13 @@ public interface SysDictDataMapper
|
|
|
|
|
|
/**
|
|
|
* 同步修改字典类型
|
|
|
- *
|
|
|
+ *
|
|
|
* @param oldDictType 旧字典类型
|
|
|
* @param newDictType 新旧字典类型
|
|
|
* @return 结果
|
|
|
*/
|
|
|
public int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
|
|
|
- @Select("select dict_type,dict_label,dict_value from sys_dict_data where dict_type =#{dictType}")
|
|
|
+ @Select("select dict_type,dict_label,dict_value from sys_dict_data where dict_type =#{dictType} and status = 0")
|
|
|
List<DictVO> selectDictDataListByType(String dictType);
|
|
|
|
|
|
SysDictData selectDictDataByTypeAndValue(@Param("type") String type, @Param("value") String value);
|