From 3e162b2eb7eabec85ac4a0f2d13a790390ed3acb Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 15 十二月 2025 14:39:45 +0800
Subject: [PATCH] 提交
---
tms/src/main/resources/mapper/tms/TmsFinanceDetailMapper.xml | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsFinanceDetailMapper.xml b/tms/src/main/resources/mapper/tms/TmsFinanceDetailMapper.xml
index d3dd4bf..b04e2b0 100644
--- a/tms/src/main/resources/mapper/tms/TmsFinanceDetailMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsFinanceDetailMapper.xml
@@ -25,10 +25,13 @@
<result property="unit" column="unit" />
<result property="currency" column="currency" />
<result property="count" column="count" />
+ <result property="isYF" column="is_yf" />
+ <result property="yfPrice" column="yf_price" />
+ <result property="yfCurrency" column="yf_currency" />
</resultMap>
<sql id="selectTmsFinanceDetailVo">
- select thisTab.id, thisTab.fee_type, thisTab.finance_id, thisTab.finance_type, thisTab.dispatch_order_id, thisTab.data_source, thisTab.create_id, thisTab.initial_fee_amount, thisTab.actual_fee_amount, thisTab.fee_voucher_url, thisTab.fee_create_time, thisTab.create_by, thisTab.create_time, thisTab.update_by, thisTab.update_time , thisTab.status, thisTab.price, thisTab.unit, thisTab.currency, thisTab.count from tms_finance_detail AS thisTab
+ select thisTab.id, thisTab.fee_type, thisTab.finance_id, thisTab.finance_type, thisTab.dispatch_order_id, thisTab.data_source, thisTab.create_id, thisTab.initial_fee_amount, thisTab.actual_fee_amount, thisTab.fee_voucher_url, thisTab.fee_create_time, thisTab.create_by, thisTab.create_time, thisTab.update_by, thisTab.update_time , thisTab.status, thisTab.price, thisTab.unit, thisTab.currency, thisTab.count, thisTab.is_yf, thisTab.yf_price, thisTab.yf_currency from tms_finance_detail AS thisTab
</sql>
<sql id="selectTmsFinanceDetailVoCount">
select count(0) from tms_finance_detail as thisTab
@@ -50,6 +53,10 @@
<if test="unit != null "> and thisTab.unit = #{unit}</if>
<if test="currency != null "> and thisTab.currency = #{currency}</if>
<if test="count != null "> and thisTab.count = #{count}</if>
+ <if test="isYF != null "> and thisTab.is_yf = #{isYF}</if>
+ <if test="yfPrice != null "> and thisTab.yf_price = #{yfPrice}</if>
+ <if test="yfCurrency != null and yfCurrency != ''"> and thisTab.yf_currency = #{yfCurrency}</if>
+
</sql>
<!--鏌ヨ-->
@@ -96,6 +103,9 @@
<if test="unit != null">unit,</if>
<if test="currency != null">currency,</if>
<if test="count != null">count,</if>
+ <if test="isYF != null">is_yf,</if>
+ <if test="yfPrice != null">yf_price,</if>
+ <if test="yfCurrency != null">yf_currency,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="feeType != null">#{feeType},</if>
@@ -117,17 +127,20 @@
<if test="unit != null">#{unit},</if>
<if test="currency != null">#{currency},</if>
<if test="count != null">#{count},</if>
+ <if test="isYF != null">#{isYF},</if>
+ <if test="yfPrice != null">#{yfPrice},</if>
+ <if test="yfCurrency != null">#{yfCurrency},</if>
</trim>
</insert>
<insert id="insertTmsFinanceDetailBatch" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
insert into tms_finance_detail
<trim prefix="(" suffix=") values" suffixOverrides=",">
- fee_type,finance_id,finance_type,dispatch_order_id,data_source,create_id,initial_fee_amount,actual_fee_amount,fee_voucher_url,fee_create_time,create_by,create_time,status,price,unit,currency,count
+ fee_type,finance_id,finance_type,dispatch_order_id,data_source,create_id,initial_fee_amount,actual_fee_amount,fee_voucher_url,fee_create_time,create_by,create_time,status,price,unit,currency,count,is_yf,yf_price,yf_currency,
</trim>
<foreach item="item" index="index" collection="list" separator=",">
<trim prefix="(" suffix=") " suffixOverrides=",">
- #{item.feeType},#{item.financeId},#{item.financeType},#{item.dispatchOrderId},#{item.dataSource},#{item.createId},#{item.initialFeeAmount},#{item.actualFeeAmount},#{item.feeVoucherUrl},#{item.feeCreateTime},#{item.createBy},#{item.createTime},#{item.status},#{item.price},#{item.unit},#{item.currency},#{item.count}
+ #{item.feeType},#{item.financeId},#{item.financeType},#{item.dispatchOrderId},#{item.dataSource},#{item.createId},#{item.initialFeeAmount},#{item.actualFeeAmount},#{item.feeVoucherUrl},#{item.feeCreateTime},#{item.createBy},#{item.createTime},#{item.status},#{item.price},#{item.unit},#{item.currency},#{item.count},#{item.isYF},#{item.yfPrice},#{item.yfCurrency},
</trim>
</foreach>
</insert>
@@ -155,6 +168,9 @@
<if test="unit != null">unit = #{unit},</if>
<if test="currency != null">currency = #{currency},</if>
<if test="count != null">count = #{count},</if>
+ <if test="isYF != null">is_yf = #{isYF},</if>
+ yf_price = #{yfPrice},
+ yf_currency = #{yfCurrency},
</trim>
where id = #{id}
</update>
@@ -182,6 +198,9 @@
<if test="item.currency != null">currency = #{item.currency},</if>
<if test="item.unit != null">unit = #{item.unit},</if>
<if test="item.price != null">price = #{item.price},</if>
+ <if test="item.isYF != null">is_yf = #{item.isYF},</if>
+ <if test="item.yfPrice != null">yf_price = #{item.yfPrice},</if>
+ <if test="item.yfCurrency != null">yf_currency = #{item.yfCurrency},</if>
</trim>
where id = #{item.id}
</foreach>
--
Gitblit v1.8.0