package com.elephant.framework.galaxy.aroad.module.info.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.elephant.framework.galaxy.aroad.module.info.entity.InfoTemplates;
import com.elephant.framework.galaxy.aroad.module.info.mapper.InfoTemplatesMapper;
import com.elephant.framework.galaxy.aroad.module.info.service.InfoTemplatesService;
import org.springframework.stereotype.Service;

/**
 * 信息模板表
 *
 * @author songwenjie
 * @date 2019-04-28 10:34:36
 */
@Service
public class InfoTemplatesServiceImpl extends ServiceImpl<InfoTemplatesMapper, InfoTemplates> implements InfoTemplatesService {

    /**
     * @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
     */
    public IPage<InfoTemplates> getInfoTemplatePage(Page page, Integer createDeptId){
        return baseMapper.getInfoTemplatePage(page,createDeptId);
    }
}
