package com.yssh.dao;
|
|
import com.yssh.entity.DictRecord;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
|
/**
|
* 字典记录Mapper接口
|
*
|
* @author xingjinshuang@smartearth.cn
|
* @date 2023-02-06
|
*/
|
@Mapper
|
public interface DictRecordMapper
|
{
|
/**
|
* 查询字典记录
|
*
|
* @param id 字典记录ID
|
* @return 字典记录
|
*/
|
//public DictRecord selectDictRecordById(Long id);
|
|
/**
|
* 查询字典记录列表
|
*
|
* @param dictRecord 字典记录
|
* @return 字典记录集合
|
*/
|
public List<DictRecord> selectDictRecordList(DictRecord dictRecord);
|
|
/**
|
* 新增字典记录
|
*
|
* @param dictRecord 字典记录
|
* @return 结果
|
*/
|
public int insertDictRecord(DictRecord dictRecord);
|
|
/**
|
* 修改字典记录
|
*
|
* @param dictRecord 字典记录
|
* @return 结果
|
*/
|
//public int updateDictRecord(DictRecord dictRecord);
|
|
/**
|
* 删除字典记录
|
*
|
* @param id 字典记录ID
|
* @return 结果
|
*/
|
//public int deleteDictRecordById(Long id);
|
|
/**
|
* 批量删除字典记录
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
//public int deleteDictRecordByIds(String[] ids);
|
|
/**
|
* 创建字典记录表接口
|
*
|
* @param tableName 表名称
|
*/
|
public int createDictRecoTable(@Param("tableName") String tableName);
|
|
public List<DictRecord> selectDictRecordList2dByTime(@Param("startTime") String startTime, @Param("endOfTime") String endOfTime);
|
public List<DictRecord> selectDictRecordList3dByTime(@Param("startTime") String startTime, @Param("endOfTime") String endOfTime);
|
|
}
|