From 3e3cd7ad6d3787dac450deef5d5173de11abab94 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 26 一月 2026 11:03:44 +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