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

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

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ztw
 * @since 2020-09-10
 */
public interface ITeamGroupService extends IService<TeamGroup> {

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

	BaseResponse<TeamGroup> create(TeamGroupQuery query);

	BaseResponse<TeamGroup> update(TeamGroupQuery query);

}
