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();
|
}
|