From 66584feb4f0726e6dee87bd7556ce369eca9712b Mon Sep 17 00:00:00 2001 From: SjS Date: Thu, 3 Apr 2025 20:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=88=86=E7=B1=BB=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bst/article/mapper/ArticleMapper.java | 2 +- .../bst/article/mapper/ArticleMapper.xml | 3 +- .../bst/article/service/ArticleService.java | 2 + .../service/impl/ArticleServiceImpl.java | 7 ++- .../mapper/ArticleCategoryMapper.java | 20 ++++---- .../impl/ArticleCategoryServiceImpl.java | 46 ++++++++++++------- .../web/bst/ArticleCategoryController.java | 6 +-- 7 files changed, 54 insertions(+), 32 deletions(-) diff --git a/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.java b/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.java index c93f16e..05ce669 100644 --- a/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.java +++ b/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.java @@ -73,7 +73,7 @@ public interface ArticleMapper */ public int deleteArticleByIds(Long[] ids); - public ArticleVO selectChildrenByiId(Long id); + public ArticleVO selectChildrenById(Long id); ArticleVO selectArticleByCode(ArticleCategoryQuery articleCategoryQuery); } diff --git a/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.xml b/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.xml index 0234b45..eecb602 100644 --- a/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.xml +++ b/ruoyi-service/src/main/java/com/ruoyi/bst/article/mapper/ArticleMapper.xml @@ -47,10 +47,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - where id = #{categoryId} +