package com.elephant.framework.galaxy.aroad.module.info.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elephant.framework.galaxy.aroad.module.info.entity.InfoTemplates;

import java.util.List;

/**
 * 信息模板表
 *
 * @author songwenjie
 * @date 2019-04-28 10:34:36
 */
public interface InfoTemplatesMapper extends BaseMapper<InfoTemplates> {

    /** 
    * @Description: 分页查询信息模板
    * @Param: [page, unitId] 
    * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.elephant.framework.galaxy.aroad.module.info.entity.InfoTemplates> 
    * @Author: songwenjie 
    * @Date: 2019/4/30 
    */ 
    IPage<InfoTemplates> getInfoTemplatePage(Page page, Integer createDeptId);

    /**
     * @Description:  假删除信息模板
     * @Param: [templateId]
     * @return: boolean
     * @Author: songwenjie
     * @Date: 2019/5/7
     */
    boolean del(int templateId);
}
