From 8fcd56dfcf8ee278f5ba4dd70a6dcf50e3e1de46 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Fri, 18 Oct 2024 14:23:30 +0800 Subject: [PATCH] =?UTF-8?q?opt=EF=BC=9Amd=5Fpb=5Fclassstandard=E8=A1=A8?= =?UTF-8?q?=E5=90=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../master/standard/service/dao/mapper/ClassStandardMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/mapper/ClassStandardMapper.xml b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/mapper/ClassStandardMapper.xml index 9a5fcb8..b6ce826 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/mapper/ClassStandardMapper.xml +++ b/lms/nladmin-system/src/main/java/org/nl/wms/basedata/master/standard/service/dao/mapper/ClassStandardMapper.xml @@ -10,7 +10,7 @@ t1.class_id, IF(find_in_set(parent_class_id, @pids) > 0, @pids := concat(@pids, ',', class_id), 0) AS ischild FROM ( - SELECT class_id, parent_class_id FROM md_base_classstandard t WHERE t.is_delete = '0' ORDER BY class_code + SELECT class_id, parent_class_id FROM md_pd_classstandard t WHERE t.is_delete = '0' ORDER BY class_code ) t1, (SELECT @pids := #{classId}) t2 ) t3