parent
b892a9e74f
commit
21d90df402
@ -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<Long> getTagsIdByTagName(@Param("tagNames") String[] tagNames);
|
||||
|
||||
int saveTags2ArticleTags(@Param("tagIds") List<Long> tagIds, @Param("aid") Long aid);
|
||||
}
|
Loading…
Reference in new issue