CustomTemplateMapper.java
1.48 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.lhcredit.project.business.customTemplate.mapper;
import com.lhcredit.project.business.customTemplate.domain.CustomTemplate;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 定制模版 数据层
*
* @author lhcredit
* @date 2025-04-08
*/
public interface CustomTemplateMapper {
/**
* 查询定制模版信息
*
* @param id 定制模版ID
* @return 定制模版信息
*/
public CustomTemplate selectCustomTemplateById(Integer id);
/**
* 查询定制模版列表
*
* @param customTemplate 定制模版信息
* @return 定制模版集合
*/
public List<CustomTemplate> selectCustomTemplateList(CustomTemplate customTemplate);
/**
* 新增定制模版
*
* @param customTemplate 定制模版信息
* @return 结果
*/
public int insertCustomTemplate(CustomTemplate customTemplate);
/**
* 修改定制模版
*
* @param customTemplate 定制模版信息
* @return 结果
*/
public int updateCustomTemplate(CustomTemplate customTemplate);
/**
* 删除定制模版
*
* @param id 定制模版ID
* @return 结果
*/
public int deleteCustomTemplateById(Integer id);
/**
* 批量删除定制模版
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteCustomTemplateByIds(String[] ids);
List<CustomTemplate> getByOrgId(@Param("orgId") Integer orgId);
}