From e32ac074e0cdc07b7551155e2e1c24684857f2b7 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 03 十二月 2025 15:12:19 +0800
Subject: [PATCH] 修改内审
---
multi-system/src/main/resources/mapper/system/ProjectDocumentMapper.xml | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/multi-system/src/main/resources/mapper/system/ProjectDocumentMapper.xml b/multi-system/src/main/resources/mapper/system/ProjectDocumentMapper.xml
index 6887d94..0e2409b 100644
--- a/multi-system/src/main/resources/mapper/system/ProjectDocumentMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ProjectDocumentMapper.xml
@@ -4,10 +4,10 @@
<insert id="insertBaths">
INSERT INTO `project_document`
- (`company_id`, `catalogue_id`, `item_id`, `file_name`, `file_path` )
+ (`company_id`, `catalogue_id`, `item_id`, `file_name`, `file_path`,document_type )
VALUES
<foreach collection="projectDocuments" separator="," item="item">
- ( #{item.companyId}, #{item.catalogueId}, #{item.itemId}, #{item.fileName}, #{item.filePath} )
+ ( #{item.companyId}, #{item.catalogueId}, #{item.itemId}, #{item.fileName}, #{item.filePath}, #{item.documentType} )
</foreach>
</insert>
@@ -19,12 +19,14 @@
`item_id`,
`file_name`,
`file_path`,
- `del_flag`
+ `del_flag`,
+ `document_type`
FROM
`project_document`
where del_flag = 1
and company_id = #{companyId}
and catalogue_id = #{catalogueId}
and item_id = #{itemId}
+ and document_type = #{documentType}
</select>
</mapper>
--
Gitblit v1.9.2