SmartAuthorGroupMapper.java 817 B

1234567891011121314151617181920212223242526272829
  1. package com.template.mapper;
  2. import com.template.model.pojo.SmartAuthorGroup;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import com.template.model.pojo.SmartAuthorGroupManager;
  5. import org.apache.ibatis.annotations.Param;
  6. import org.springframework.stereotype.Repository;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. * Mapper 接口
  11. * </p>
  12. *
  13. * @author ceshi
  14. * @since 2023-12-04
  15. */
  16. @Repository
  17. public interface SmartAuthorGroupMapper extends BaseMapper<SmartAuthorGroup> {
  18. List<SmartAuthorGroup> smartAuthorGroup(@Param("userId") Integer userId);
  19. List<SmartAuthorGroupManager> getSmartAuthorGroupManager(@Param("groupId") String groupId);
  20. List<SmartAuthorGroup> smartAuthorGroupSuperAdmin(@Param("userId") Integer userId);
  21. SmartAuthorGroup getByUserId(@Param("userId") String userId);
  22. }