From 68e3c988e3c68cdcbbed953de55e54003664a7a9 Mon Sep 17 00:00:00 2001 From: LHD_HY <2872546851@qq.com> Date: Tue, 30 Dec 2025 15:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/ProjectMapper.xml | 80 ++++++++++--------- 1 file changed, 44 insertions(+), 36 deletions(-) diff --git a/water-design-const/src/main/resources/mapper/ProjectMapper.xml b/water-design-const/src/main/resources/mapper/ProjectMapper.xml index 157f5f7..5374404 100644 --- a/water-design-const/src/main/resources/mapper/ProjectMapper.xml +++ b/water-design-const/src/main/resources/mapper/ProjectMapper.xml @@ -8,8 +8,6 @@ - - @@ -25,25 +23,20 @@ SELECT - tp.id, - tp.pro_name, - sdd.type_name as pro_type, - oo.id as unit_id, - oo.unit_name, - tp.user_name, - tp.pro_location, - tp.lon, - tp.lat, - tp.remark, - sc.config_name - LEVEL + tp.id, + tp.pro_name, + tp.pro_type, + tp.user_name, + tp.pro_location, + tp.lon, + tp.lat, + tp.remark, + sc.config_name AS LEVEL FROM - tb_project tp - LEFT JOIN sys_level_config sc ON sc.config_id = tp.LEVEL - LEFT JOIN tb_pro_type sdd ON sdd.id = tp.pro_type - LEFT JOIN tb_owner oo on oo.id = tp.unit_id + tb_project tp + LEFT JOIN sys_level_config sc ON sc.config_id = tp.LEVEL WHERE - del_flag = '0' + del_flag = '0' + + + +