package com.yssh.mapper;
|
|
import java.util.List;
|
|
import com.yssh.entity.DictRecord;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
@Mapper
|
public interface DictRecordMapper {
|
/**
|
* 查询字典记录列表
|
* @param dictRecord 字典记录
|
* @return 字典记录集合
|
*/
|
public List<DictRecord> selectDictRecordList(DictRecord dictRecord);
|
|
public List<DictRecord> selectByTimeDictRecordList(@Param("startTime") Long startTime, @Param("endTime") Long endTime);
|
|
public DictRecord selectByCreateTime(Long createTime);
|
|
public List<DictRecord> selectByTime(String start, String end);
|
|
/**
|
* 新增字典记录
|
* @param dictRecord 字典记录
|
* @return 结果
|
*/
|
public int insertDictRecord(DictRecord dictRecord);
|
|
/**
|
* 删除字典记录
|
* @param id 字典记录ID
|
* @return 结果
|
*/
|
public int deleteDictRecordById(Long id);
|
|
/**
|
* 批量删除字典记录
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteDictRecordByIds(Long[] ids);
|
|
/**
|
* 创建字典记录表接口
|
*/
|
public int createDictRecoTable();
|
|
}
|