zjh
2 天以前 14ecea8537d5b29ca64c75aad4ff49265018415d
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
package com.ltkj.hosp.mapper;
 
import java.util.List;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.JimuReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
/**
 * 在线excel设计器Mapper接口
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-04-23
 */
@Mapper
public interface JimuReportMapper extends BaseMapper<JimuReport> {
    /**
     * 查询在线excel设计器
     *
     * @param id 在线excel设计器主键
     * @return 在线excel设计器
     */
    public JimuReport selectJimuReportById(String id);
 
    /**
     * 查询在线excel设计器列表
     *
     * @param jimuReport 在线excel设计器
     * @return 在线excel设计器集合
     */
    public List<JimuReport> selectJimuReportList(JimuReport jimuReport);
 
    /**
     * 新增在线excel设计器
     *
     * @param jimuReport 在线excel设计器
     * @return 结果
     */
    public int insertJimuReport(JimuReport jimuReport);
 
    /**
     * 修改在线excel设计器
     *
     * @param jimuReport 在线excel设计器
     * @return 结果
     */
    public int updateJimuReport(JimuReport jimuReport);
 
    /**
     * 删除在线excel设计器
     *
     * @param id 在线excel设计器主键
     * @return 结果
     */
    public int deleteJimuReportById(String id);
 
    /**
     * 批量删除在线excel设计器
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJimuReportByIds(String[] ids);
 
 
    @Select("SELECT id FROM jimu_report WHERE del_flag='0' AND is_start='0' AND print_type='7' AND type='printinfo' AND `name` = '退款小票'")
    public String getMoBanId();
 
    @Select("SELECT id FROM jimu_report WHERE del_flag='0' AND is_start='0' AND print_type='8' AND type='printinfo' AND `name` = '收款小票'")
    public String getMoBanIds();
 
    @Select("SELECT id FROM jimu_report WHERE del_flag='0' AND is_start='0' AND print_type='1' AND type='printinfo' AND `name` = '个人发票2'")
    public String getGrMoBanIds();
}