From d1fcb44a9b81d0880b414e9125cb60897cf0b6a8 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Sat, 21 Sep 2024 13:19:14 +0800
Subject: [PATCH] 1、受理操作报错修复 整改: 2、工作台-待/已分派列表 3、工作台-待/已签收列表 4、工作台-待/已/不予受理列表

---
 dyh-service/dyh-sys/src/main/java/cn/huge/module/file/dao/mapper/xml/FileInfoMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/dao/mapper/xml/FileInfoMapper.xml b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/dao/mapper/xml/FileInfoMapper.xml
index 5f4a18e..4eeadd0 100644
--- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/dao/mapper/xml/FileInfoMapper.xml
+++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/dao/mapper/xml/FileInfoMapper.xml
@@ -319,6 +319,18 @@
         </if>
     </select>
 
+    <select id="listFileByType" resultMap="fileResult">
+        SELECT t2.owner_id, t2.owner_cat, t2.owner_type, t2.uploader_id, t2.uploader_name,
+        <include refid="column-part-t"/>
+        FROM dyh_file_info t1
+        LEFT JOIN dyh_file_relate t2 ON t1.id = t2.file_id
+        WHERE
+        t1.delete_status = 0
+        and t2.main_id = #{terms.mainId}
+        and t2.owner_type = #{terms.ownerType}
+    </select>
+
+
 <!--    &lt;!&ndash; 根据多个编号查询 &ndash;&gt;-->
 <!--    <select id="listByIdsTypes" resultMap="fileResult">-->
 <!--        SELECT t2.owner_id, t2.owner_cat, t2.owner_type, t2.uploader_id, t2.uploader_name,-->

--
Gitblit v1.8.0