From 236fb6ff1f6a955db5f78560204e042e977e2167 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 22 九月 2025 20:47:52 +0800
Subject: [PATCH] 资产入库审批通过保存资产数据

---
 ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationStorageMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationStorageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationStorageMapper.xml
index be9dd4f..94db2a5 100644
--- a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationStorageMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationStorageMapper.xml
@@ -21,6 +21,7 @@
     <select id="selectApplicationStoragePage" resultType="com.ruoyi.system.vo.asset.OaApprovalApplicationStoragePageVO">
         SELECT
             oas.id                               AS id,
+            oas.asset_type_id                    AS assetTypeId,
             aaa.dept_name                        AS deptName,
             aaa.application_code                 AS applicationCode,
             oas.title                            AS title,
@@ -56,9 +57,9 @@
                    end as useName
 
 
-               from asset_main t1
-                             left join asset_type t2 on t3.id = t1.asset_type_id
-                             left join t_dept t3 on t4.id = t3.ownership_dept_id
+               from oa_approval_application_storage_asset t1
+                             left join asset_type t2 on t2.id = t1.asset_type_id
+                             left join t_dept t3 on t3.id = t1.ownership_dept_id
         where t1.approval_application_id = #{query.approvalApplicationId}
         order by t1.create_time  desc
 

--
Gitblit v1.7.1