From dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期四, 30 十一月 2023 08:44:04 +0800 Subject: [PATCH] 理片笼测试修改 --- springboot-vue3/src/main/java/com/example/springboot/mapper/CategoryMapper.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/mapper/CategoryMapper.java b/springboot-vue3/src/main/java/com/example/springboot/mapper/CategoryMapper.java new file mode 100644 index 0000000..94f68ab --- /dev/null +++ b/springboot-vue3/src/main/java/com/example/springboot/mapper/CategoryMapper.java @@ -0,0 +1,23 @@ +package com.example.springboot.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.example.springboot.entity.Category; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import org.springframework.stereotype.Repository; + +import java.util.List; + +@Mapper +@Repository +public interface CategoryMapper extends BaseMapper<Category> { + void categoryDeleteByIds(@Param("ids") List<Long> ids); + + void categoryUpdateById(@Param("id") Long id, @Param("category") Category category); + + void categoryInsert(@Param("category") Category category); + + List<Category> findAllExceptSelf(@Param("id") Long id); + + List<Category> selectByPath(@Param("path") String path); +} \ No newline at end of file -- Gitblit v1.8.0