燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-13 2f55cebbad3dea187a5f91d16ec80a9677dab699
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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();
 
}