package cn.com.ty.lift.enterprise.oa.mapper;


import cn.com.ty.lift.enterprise.oa.dto.AnnouncementRequest;
import cn.com.ty.lift.enterprise.oa.dto.AnnouncementResponse;
import cn.com.ty.lift.enterprise.oa.entity.Announcement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper 接口 - 表：announcement
 * @since 2019-11-25 17:42:45
 */
public interface AnnouncementMapper extends BaseMapper<Announcement>{

	IPage<AnnouncementResponse> pageByCondition(IPage<AnnouncementResponse> page, @Param("cond")AnnouncementRequest request);

	AnnouncementResponse infoById(@Param("cond")AnnouncementRequest request);
}