package cn.wise.sc.cement.business.service;

import cn.wise.sc.cement.business.entity.SysPost;
import cn.wise.sc.cement.business.model.BaseResponse;
import cn.wise.sc.cement.business.model.PageQuery;
import cn.wise.sc.cement.business.model.query.PostQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ztw
 * @since 2020-08-25
 */
public interface ISysPostService extends IService<SysPost> {

	BaseResponse<IPage<SysPost>> getPage(PageQuery pageQuery, String name);

	BaseResponse<SysPost> create(PostQuery query);

	BaseResponse<SysPost> update(PostQuery query);

}
