| 1234567891011121314151617181920212223242526272829 |
- package com.template.mapper;
- import com.template.model.pojo.SmartAuthorGroup;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.template.model.pojo.SmartAuthorGroupManager;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * <p>
- * Mapper 接口
- * </p>
- *
- * @author ceshi
- * @since 2023-12-04
- */
- @Repository
- public interface SmartAuthorGroupMapper extends BaseMapper<SmartAuthorGroup> {
- List<SmartAuthorGroup> smartAuthorGroup(@Param("userId") Integer userId);
- List<SmartAuthorGroupManager> getSmartAuthorGroupManager(@Param("groupId") String groupId);
- List<SmartAuthorGroup> smartAuthorGroupSuperAdmin(@Param("userId") Integer userId);
- SmartAuthorGroup getByUserId(@Param("userId") String userId);
- }
|