From 4357387a545d0b5a04e98a1e545c184e3ed67afa Mon Sep 17 00:00:00 2001 From: HH Date: Thu, 23 Mar 2023 21:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E5=8F=B8=E7=B1=BB?= =?UTF-8?q?=E7=9B=AE=E6=8E=92=E5=BA=8F=20ORDER=20BY=20gc.level,=20dgc.cate?= =?UTF-8?q?gory=5Fsort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/goods/DeptGoodsCategoryMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghy-goods/src/main/resources/mapper/goods/DeptGoodsCategoryMapper.xml b/ghy-goods/src/main/resources/mapper/goods/DeptGoodsCategoryMapper.xml index d65c3721..c4be941c 100644 --- a/ghy-goods/src/main/resources/mapper/goods/DeptGoodsCategoryMapper.xml +++ b/ghy-goods/src/main/resources/mapper/goods/DeptGoodsCategoryMapper.xml @@ -65,7 +65,7 @@ and dgc.dept_goods_category_id = #{deptGoodsCategoryId} - ORDER BY dgc.category_sort + ORDER BY gc.level, dgc.category_sort @@ -158,7 +158,7 @@ AND gc.type = #{type} - ORDER BY dgc.category_sort + ORDER BY gc.level, dgc.category_sort