ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package jnpf.base.service;
 
import jnpf.base.Pagination;
import jnpf.base.SmsModel;
import jnpf.base.entity.SmsTemplateEntity;
 
import java.util.List;
 
/**
 * @author Administrator
 * @description 针对表【base_sms_template】的数据库操作Service
 * @createDate 2021-12-09 10:12:52
 */
public interface SmsTemplateService extends SuperService<SmsTemplateEntity> {
 
    /**
     * 列表(不分页)
     *
     * @return
     */
    List<SmsTemplateEntity> getList(String keyword);
 
    /**
     * 列表
     *
     * @param pagination 条件
     * @return 单据规则列表
     */
    List<SmsTemplateEntity> getList(Pagination pagination);
 
    /**
     * 信息
     *
     * @param id 主键值
     * @return 单据规则
     */
    SmsTemplateEntity getInfo(String id);
 
    /**
     * 创建
     *
     * @param entity 实体
     */
    void create(SmsTemplateEntity entity);
 
    /**
     * 更新
     *
     * @param id     主键值
     * @param entity 实体对象
     * @return ignore
     */
    boolean update(String id, SmsTemplateEntity entity);
 
    /**
     * 删除
     *
     * @param entity 实体
     */
    void delete(SmsTemplateEntity entity);
 
    /**
     * 判断模板编号是否重复
     *
     * @param templateName
     * @param id
     * @return
     */
    boolean isExistByTemplateName(String templateName, String id);
 
    /**
     * 判断模板编号是否重复
     *
     * @param enCode
     * @param id
     * @return
     */
    boolean isExistByEnCode(String enCode, String id);
 
    /**
     * 获取短信配置
     * @return
     */
    SmsModel getSmsConfig();
}