BaseExportTempMapper.java 2.29 KB
Newer Older
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 86 87 88 89 90 91 92
package com.zehong.system.mapper;

import com.zehong.system.domain.BaseExportTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ureport2模板管理Mapper接口
 * 
 * @author ruoyi
 * @date 2022-01-21
 */
public interface BaseExportTempMapper 
{
    /**
     * 查询ureport2模板管理
     * 
     * @param id ureport2模板管理主键
     * @return ureport2模板管理
     */
    public BaseExportTemp selectBaseExportTempById(Long id);

    /**
     * 查询ureport2模板管理列表
     * 
     * @param baseExportTemp ureport2模板管理
     * @return ureport2模板管理集合
     */
    public List<BaseExportTemp> selectBaseExportTempList(BaseExportTemp baseExportTemp);

    /**
     * 新增ureport2模板管理
     * 
     * @param baseExportTemp ureport2模板管理
     * @return 结果
     */
    public int insertBaseExportTemp(BaseExportTemp baseExportTemp);

    /**
     * 修改ureport2模板管理
     * 
     * @param baseExportTemp ureport2模板管理
     * @return 结果
     */
    public int updateBaseExportTemp(BaseExportTemp baseExportTemp);

    /**
     * 删除ureport2模板管理
     * 
     * @param id ureport2模板管理主键
     * @return 结果
     */
    public int deleteBaseExportTempById(Long id);

    /**
     * 批量删除ureport2模板管理
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBaseExportTempByIds(Long[] ids);
    /**
     * 删除ureport2模板管理
     *
     * @param id ureport2模板管理ID
     * @return 结果
     */
    public int setDeleteById(@Param("id")Long id,@Param("operId")Long operId,@Param("operName")String operName);

    /**
     * 批量删除ureport2模板管理---逻辑删除
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int setDeleteByIds(@Param("ids")Long[] ids,@Param("operId")Long operId,@Param("operName")String operName);

    /**
     * 根据code查询参数
     * @param code
     * @return
     */
    public BaseExportTemp selectParamByCode(@Param("code") String code);

    /**
     * 根据模板的存放路径查询唯一的模板信息
     * @param fullPath
     * @return
     */
    public BaseExportTemp selectSignleByFullPath(@Param("fullPath") String fullPath);
}