xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.mindskip.xzs.repository;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mindskip.xzs.domain.Tag;
import com.mindskip.xzs.domain.UserTag;
import com.mindskip.xzs.domain.vo.TagVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * @author gonghl
 * @description 针对表【t_tag(用户标签)】的数据库操作Mapper
 * @createDate 2024-05-06 11:19:57
 * @Entity com.mindskip.xzs.tag.Tag
 */
@Mapper
public interface TagMapper extends BaseMapper<Tag> {
 
    void saveBatchUserTag(List<UserTag> list);
 
    void removeUserTagByUserId(Integer id);
 
    List<Integer> selectTagIdsByUserId(Integer id);
 
    List<String> selectTagNamesByUserId(Integer id);
 
    List<String> selectCountById(Integer id);
 
    List<TagVO> page(@Param("tag") TagVO tag);
}