package com.cyksj.mapper.corp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyksj.model.entity.CorpTagGroup;
import com.cyksj.model.views.CorpTagBackView;
import com.cyksj.model.views.CorpTagGroupView;
import org.apache.ibatis.annotations.Param;

/*
 *项目名: netflix
 *文件名: CorpTagGroupMapper
 *创建者: JavaZou
 *创建时间:2022/10/13 18:01
 */
public interface CorpTagGroupMapper extends BaseMapper<CorpTagGroup> {
	CorpTagGroupView getOneCorpGroupTag(@Param("groupId") String groupId, @Param("groupName") String groupName);

	Page<CorpTagGroupView> getCorpTagList(@Param("groupName") String groupName, @Param("page") Page<CorpTagGroupView> page);

	Page<CorpTagBackView> getCorpTagBackView(@Param("page") Page<CorpTagBackView> page, @Param("groupName") String groupName, @Param("sort") String sort, @Param("order") String order, @Param("wxCorpId") Long wxCorpId);

	CorpTagBackView fillCorpGroupTagInfo(@Param("groupId") String groupId, @Param("wxCorpId") Long wxCorpI);
}
