From 519134078d8e6fbd26faa0e5bbea79fb2f45ed32 Mon Sep 17 00:00:00 2001 From: hansha Date: Mon, 9 Dec 2024 10:45:52 +0800 Subject: [PATCH] =?UTF-8?q?sql=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/da/dangan/controller/DaCatalogController.java | 2 +- .../src/main/resources/mapper/dangan/DaBirthDjMapper.xml | 6 +++--- .../src/main/resources/mapper/dangan/DaCatalogMapper.xml | 4 ++-- .../src/main/resources/mapper/dangan/DaCzrkdjMapper.xml | 6 +++--- .../main/resources/mapper/dangan/DaPicturesRecardMapper.xml | 2 +- .../src/main/resources/mapper/dangan/DaQyzMapper.xml | 6 +++--- .../src/main/resources/mapper/dangan/DaTaskMapper.xml | 2 +- .../src/main/resources/mapper/dangan/DaYtzmMapper.xml | 6 +++--- .../src/main/resources/mapper/dangan/DaZfnyhkcgMapper.xml | 6 +++--- .../src/main/resources/mapper/dangan/DaZqzMapper.xml | 6 +++--- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/dangan-dangan/src/main/java/com/da/dangan/controller/DaCatalogController.java b/dangan-dangan/src/main/java/com/da/dangan/controller/DaCatalogController.java index b40c643..ad4ef3e 100644 --- a/dangan-dangan/src/main/java/com/da/dangan/controller/DaCatalogController.java +++ b/dangan-dangan/src/main/java/com/da/dangan/controller/DaCatalogController.java @@ -39,7 +39,7 @@ public class DaCatalogController extends BaseController } /** - * 根据档案目录列表统计已识别数量 --此方法只需调用一次,用于把计算的数添加到catalog记录的countNum中 + * 根据心在档案目录列表计算各级目录已识别档案数量 --修改统计目录逻辑后,此方法只需调用一次,用于把计算的数添加到catalog记录的countNum中 * @param daCatalog * @return */ diff --git a/dangan-dangan/src/main/resources/mapper/dangan/DaBirthDjMapper.xml b/dangan-dangan/src/main/resources/mapper/dangan/DaBirthDjMapper.xml index 746b471..3438b63 100644 --- a/dangan-dangan/src/main/resources/mapper/dangan/DaBirthDjMapper.xml +++ b/dangan-dangan/src/main/resources/mapper/dangan/DaBirthDjMapper.xml @@ -51,7 +51,7 @@ select distinct b.* from da_birth_dj b - left join da_user_catalog uc on b.mu_id = uc.mu_id + left join da_user_catalog uc on b.mu_id = uc.mu_id and uc.user_id = #{userId} @@ -149,7 +149,7 @@ - + - + select distinct c.* from da_czrkdj c - left join da_user_catalog uc on c.mu_id = uc.mu_id + left join da_user_catalog uc on c.mu_id = uc.mu_id and uc.user_id = #{userId} and task_id = #{taskId} @@ -156,7 +156,7 @@ select distinct c.* from da_czrkdj c - left join da_user_catalog uc on c.mu_id = uc.mu_id + left join da_user_catalog uc on c.mu_id = uc.mu_id and uc.user_id = #{userId} and yw_type = #{ywType} diff --git a/dangan-dangan/src/main/resources/mapper/dangan/DaPicturesRecardMapper.xml b/dangan-dangan/src/main/resources/mapper/dangan/DaPicturesRecardMapper.xml index 8a6a989..f21a25f 100644 --- a/dangan-dangan/src/main/resources/mapper/dangan/DaPicturesRecardMapper.xml +++ b/dangan-dangan/src/main/resources/mapper/dangan/DaPicturesRecardMapper.xml @@ -29,7 +29,7 @@ select distinct q.* from da_qyz q - left join da_user_catalog uc on q.mu_id = uc.mu_id + left join da_user_catalog uc on q.mu_id = uc.mu_id and uc.user_id = #{userId} and task_id = #{taskId} @@ -122,7 +122,7 @@ select distinct q.* from da_qyz q - left join da_user_catalog uc on q.mu_id = uc.mu_id + left join da_user_catalog uc on q.mu_id = uc.mu_id and uc.user_id = #{userId} diff --git a/dangan-dangan/src/main/resources/mapper/dangan/DaTaskMapper.xml b/dangan-dangan/src/main/resources/mapper/dangan/DaTaskMapper.xml index c658c55..dd36188 100644 --- a/dangan-dangan/src/main/resources/mapper/dangan/DaTaskMapper.xml +++ b/dangan-dangan/src/main/resources/mapper/dangan/DaTaskMapper.xml @@ -36,7 +36,7 @@ select distinct y.* from da_ytzm y - left join da_user_catalog uc on y.mu_id = uc.mu_id + left join da_user_catalog uc on y.mu_id = uc.mu_id and uc.user_id = #{userId} and task_id = #{taskId} @@ -105,7 +105,7 @@ select distinct y.* from da_ytzm y - left join da_user_catalog uc on y.mu_id = uc.mu_id + left join da_user_catalog uc on y.mu_id = uc.mu_id and uc.user_id = #{userId} diff --git a/dangan-dangan/src/main/resources/mapper/dangan/DaZfnyhkcgMapper.xml b/dangan-dangan/src/main/resources/mapper/dangan/DaZfnyhkcgMapper.xml index 11e18c1..216b040 100644 --- a/dangan-dangan/src/main/resources/mapper/dangan/DaZfnyhkcgMapper.xml +++ b/dangan-dangan/src/main/resources/mapper/dangan/DaZfnyhkcgMapper.xml @@ -54,7 +54,7 @@ select distinct z.* from da_zfnyhkcg z - left join da_user_catalog uc on z.mu_id = uc.mu_id + left join da_user_catalog uc on z.mu_id = uc.mu_id and uc.user_id = #{userId} @@ -170,7 +170,7 @@ select distinct z.* from da_zqz z - left join da_user_catalog uc on z.mu_id = uc.mu_id + left join da_user_catalog uc on z.mu_id = uc.mu_id and uc.user_id = #{userId} and task_id = #{taskId} @@ -138,7 +138,7 @@ select distinct z.* from da_zqz z - left join da_user_catalog uc on z.mu_id = uc.mu_id + left join da_user_catalog uc on z.mu_id = uc.mu_id and uc.user_id = #{userId}