From ba87fd72f14c5ed0caf14e9d8ff116d254a8c113 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期四, 16 四月 2026 10:11:32 +0800
Subject: [PATCH] 新增线上配置

---
 tms/src/main/resources/mapper/tms/TmsPayableFeeItemMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/tms/src/main/resources/mapper/tms/TmsPayableFeeItemMapper.xml b/tms/src/main/resources/mapper/tms/TmsPayableFeeItemMapper.xml
index f6186f4..fa94548 100644
--- a/tms/src/main/resources/mapper/tms/TmsPayableFeeItemMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsPayableFeeItemMapper.xml
@@ -45,7 +45,14 @@
         <include refid="selectTmsPayableFeeItemVo"/>
         where id = #{id}
     </select>
-
+    <select id="selectTmsPayableFeeItemByDispatchNo" resultType="com.ruoyi.tms.domain.TmsPayableFeeItem">
+        select tpf.system_no as payable_no,tpf.dispatch_no, thisTab.fee_type, thisTab.fee_name, thisTab.type_id, thisTab.register_time, thisTab.register_amount, thisTab.currency, thisTab.head_id, thisTab.service_provider_id, thisTab.service_provider_name, thisTab.create_time, thisTab.service_provider_type, thisTab.update_time from tms_payable_fee_item AS thisTab
+        left JOIN tms_payable_fee tpf on thisTab.head_id = tpf.id
+        where tpf.`status` != 2  and tpf.dispatch_no in
+        <foreach item="dispatchNo" collection="dispatchNos" open="(" separator="," close=")">
+            #{dispatchNo}
+        </foreach>
+    </select>
     <select id="selectTmsPayableFeeItemCount" parameterType="com.ruoyi.tms.domain.TmsPayableFeeItem" resultType="int">
         <include refid="selectTmsPayableFeeItemVoCount"/>
         <where>

--
Gitblit v1.8.0