WeMsgTlpMapper.java
1.52 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
65
66
67
68
69
70
71
72
package com.linkwechat.wecom.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeMsgTlp;
import org.apache.ibatis.annotations.Param;
/**
* 欢迎语模板Mapper接口
*
* @author ruoyi
* @date 2020-10-04
*/
public interface WeMsgTlpMapper extends BaseMapper<WeMsgTlp>
{
/**
* 查询欢迎语模板
*
* @param id 欢迎语模板ID
* @return 欢迎语模板
*/
public WeMsgTlp selectWeMsgTlpById(Long id);
// /**
// * 查询欢迎语模板列表
// *
// * @param weMsgTlp 欢迎语模板
// * @return 欢迎语模板集合
// */
// public List<WeMsgTlp> selectWeMsgTlpList(WeMsgTlp weMsgTlp);
/**
* 新增欢迎语模板
*
* @param weMsgTlp 欢迎语模板
* @return 结果
*/
public int insertWeMsgTlp(WeMsgTlp weMsgTlp);
/**
* 修改欢迎语模板
*
* @param weMsgTlp 欢迎语模板
* @return 结果
*/
public int updateWeMsgTlp(WeMsgTlp weMsgTlp);
/**
* 删除欢迎语模板
*
* @param id 欢迎语模板ID
* @return 结果
*/
public int deleteWeMsgTlpById(Long id);
/**
* 批量删除欢迎语模板
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteWeMsgTlpByIds(Long[] ids);
/**
* 通过模板id删除
* @param msgTlpIds
* @return
*/
public int batchRemoveByids(@Param("msgTlpIds") List<Long> msgTlpIds);
}