From d114c6ac8e3846309b4d1fb64f163f5cf22c56ce Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 19 九月 2025 19:35:28 +0800
Subject: [PATCH] 审批模块接口代码

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationPurchaseItemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationPurchaseItemMapper.xml
index 8880cf9..2594ff7 100644
--- a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationPurchaseItemMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationPurchaseItemMapper.xml
@@ -19,5 +19,12 @@
     <sql id="Base_Column_List">
         id, approval_application_id, asset_name, asset_type_id, spec, unit, quantity, price, total_amount
     </sql>
+    <select id="pageList" resultType="com.ruoyi.system.vo.PurchaseListVO">
+        select t1.*,t2.type_name as assetTypeName
+        from oa_approval_application_purchase_item t1
+                 left join asset_type t2 on t2.id = t1.asset_type_id
+        where t1.approval_application_id = #{query.approvalApplicationId}
+
+    </select>
 
 </mapper>

--
Gitblit v1.7.1