From 700ac5685214d37f128b3ad3dfda59e80381b9f6 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期四, 16 一月 2025 17:52:38 +0800
Subject: [PATCH] 修改创建人更新人,修改文件所属人对比

---
 lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/DocInfoMapper.xml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/DocInfoMapper.xml b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/DocInfoMapper.xml
index 11283e2..46cae6f 100644
--- a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/DocInfoMapper.xml
+++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/DocInfoMapper.xml
@@ -16,19 +16,19 @@
         ,u.publish_version
         ,u.description
         ,u.CREATE_TIME
-        ,u.CREATE_USER
+        ,u.create_by
         ,u.UPDATE_TIME
-        ,u.UPDATE_USER
+        ,u.update_by
         ,(case when o.doc_id is null then 1 else 2 end) as pullStatus
         ,s.realname as pullUser
         from (select classification_id, doc_id,attribution_type,attribution_id from nc_doc_relative where delete_flag=0) r
         inner join
         (select * from nc_doc_info where delete_flag=0) u
         on r.doc_id = u.doc_id
-        left join (select doc_id, create_user from nc_file_operate where delete_flag=0) o
+        left join (select doc_id, create_by from nc_file_operate where delete_flag=0) o
         on u.doc_id=o.doc_id
         left join sys_user s
-        on o.create_user=s.id
+        on o.create_by=s.id
         ${ew.customSqlSegment}
     </select>
 
@@ -48,9 +48,9 @@
         ,u.publish_version
         ,u.description
         ,u.CREATE_TIME
-        ,u.CREATE_USER
+        ,u.create_by
         ,u.UPDATE_TIME
-        ,u.UPDATE_USER
+        ,u.update_by
         ,(case when o.doc_id is null then 1 else 2 end) as pullStatus
         ,s.realname as pullUser
         ,(case when t.sync_flag is null then 2 else t.sync_flag end) as syncStatus
@@ -58,10 +58,10 @@
         inner join
         (select * from nc_doc_info where delete_flag=0) u
         on r.doc_id = u.doc_id
-        left join (select doc_id, create_user from nc_file_operate where delete_flag=0) o
+        left join (select doc_id, create_by from nc_file_operate where delete_flag=0) o
         on u.doc_id=o.doc_id
         left join sys_user s
-        on o.create_user=s.id
+        on o.create_by=s.id
         left join (select distinct file_id, doc_id, device_id, sync_flag from nc_to_equipment_lists where delete_flag = 0) t
         on u.doc_id=t.doc_id and u.publish_file_id=t.file_id and r.attribution_id=t.device_id
         ${ew.customSqlSegment}

--
Gitblit v1.9.3