From 21d90df402f7e4ecb212ddb41e1222df5bb1be96 Mon Sep 17 00:00:00 2001 From: moec42frf <3378620026@qq.com> Date: Sun, 30 Apr 2023 09:28:44 +0800 Subject: [PATCH] ADD file via upload --- .../main/java/org/sang/mapper/TagsMapper.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 blogserver/src/main/java/org/sang/mapper/TagsMapper.java diff --git a/blogserver/src/main/java/org/sang/mapper/TagsMapper.java b/blogserver/src/main/java/org/sang/mapper/TagsMapper.java new file mode 100644 index 0000000..bc91eff --- /dev/null +++ b/blogserver/src/main/java/org/sang/mapper/TagsMapper.java @@ -0,0 +1,18 @@ +package org.sang.mapper; + +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + + +@Mapper +public interface TagsMapper { + int deleteTagsByAid(Long aid); + + int saveTags(@Param("tags") String[] tags); + + List getTagsIdByTagName(@Param("tagNames") String[] tagNames); + + int saveTags2ArticleTags(@Param("tagIds") List tagIds, @Param("aid") Long aid); +}