75 lines
1.7 KiB
Java
75 lines
1.7 KiB
Java
package com.zx.mapper;
|
|
|
|
import com.zx.domain.req.DictionaryData;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @ClassDescription:
|
|
* @JdkVersion: 17
|
|
* @Author: zhangxu
|
|
* @Created: 2024/4/25 14:21
|
|
*/
|
|
@Mapper
|
|
public interface DictionaryDataMapper {
|
|
|
|
/**
|
|
* 查询【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 【请填写功能名称】
|
|
*/
|
|
public DictionaryData selectDictionaryDataById(Long id);
|
|
|
|
/**
|
|
* 查询【请填写功能名称】列表
|
|
*
|
|
* @param dictionaryData 【请填写功能名称】
|
|
* @return 【请填写功能名称】集合
|
|
*/
|
|
public List<DictionaryData> selectDictionaryDataList(DictionaryData dictionaryData);
|
|
|
|
/**
|
|
* 新增【请填写功能名称】
|
|
*
|
|
* @param dictionaryData 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int insertDictionaryData(DictionaryData dictionaryData);
|
|
|
|
/**
|
|
* 修改【请填写功能名称】
|
|
*
|
|
* @param dictionaryData 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int updateDictionaryData(DictionaryData dictionaryData);
|
|
|
|
/**
|
|
* 删除【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteDictionaryDataById(Long id);
|
|
|
|
/**
|
|
* 批量删除【请填写功能名称】
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteDictionaryDataByIds(Long[] ids);
|
|
|
|
List<DictionaryData> getDictionaryDataList(@Param("dictionaryIds") List<Long> dictionaryIds);
|
|
|
|
|
|
void deleteDictionaryData(@Param("id") Long id);
|
|
|
|
|
|
|
|
|
|
}
|