0225财务应收账单应付账单修改

This commit is contained in:
赵辉
2026-02-25 16:14:52 +08:00
parent 9793c0fd71
commit 4a75dfd313
15 changed files with 91 additions and 5 deletions
@@ -115,6 +115,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
<if test="waybillNumber != null and waybillNumber != ''">
and a.waybill_number like concat('%', #{waybillNumber}, '%')
</if>
<if test="driver != null and driver != ''">
and a.driver like concat('%', #{driver}, '%')
</if>
<if test="driverName != null and driverName != ''">
and a.driver_name like concat('%', #{driverName}, '%')
</if>
<if test="approvalNumber != null and approvalNumber != ''">
and b.approval_number like concat('%', #{approvalNumber}, '%')
@@ -72,6 +72,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="shipperName != null and shipperName != ''">
and a.shipper_name like concat('%', #{shipperName}, '%')
</if>
<if test="accountInformation != null and accountInformation != ''">
and a.account_information like concat('%', #{accountInformation}, '%')
</if>
<if test="innerNumber != null and innerNumber != ''">
and a.inner_number like concat('%', #{innerNumber}, '%')
</if>
@@ -207,8 +210,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="delReconciliationDetailByInnerNumber">
update reconciliation_order_detail set del_flag = 2 where reconciliation_id = #{reconciliationId}
</update>
<!-- 自定义插入语句,确保传入的createTime被使用 -->
<insert id="insertWithCreateTime" parameterType="com.linke.finance.domain.reconciliation.entity.Reconciliation" useGeneratedKeys="true" keyProperty="reconciliationId">
INSERT INTO reconciliation (
verification_money,
@@ -273,7 +275,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
nc_id,
sk_synchronous_status,
sk_synchronous_time,
sk_nc_id
sk_nc_id,
account_information
) VALUES (
#{verificationMoney},
#{settlementCount},
@@ -337,7 +340,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{ncId},
#{skSynchronousStatus},
#{skSynchronousTime},
#{skNcId}
#{skNcId},
#{accountInformation}
)
</insert>
</mapper>
@@ -100,7 +100,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
v.bill_remarks,
v.payment_method,
v.fuel_card_number,
v.organization_name
v.organization_name,
v.driver_name,
v.driver
FROM
verification v
</sql>
@@ -399,6 +401,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cancelAfterVerificationTimeStart != null and cancelAfterVerificationTimeStart != ''">
AND date_format(v.cancel_after_verification_time,'%Y-%m-%d') >= #{cancelAfterVerificationTimeStart}
</if>
<!-- <if test="driverName != null and driverName != ''">-->
<!-- AND v.driver_name like concat('%', #{driverName}, '%')-->
<!-- </if>-->
<!-- <if test="driver != null and driver != ''">-->
<!-- AND v.driver like concat('%', #{driver}, '%')-->
<!-- </if>-->
<if test="cancelAfterVerificationTimeEnd != null and cancelAfterVerificationTimeEnd != ''">
AND date_format(v.cancel_after_verification_time,'%Y-%m-%d') <![CDATA[<=]]> #{cancelAfterVerificationTimeEnd}
</if>
@@ -759,6 +767,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_by,
update_by_name,
del_flag,
driver_name,
driver
</trim>
values
<foreach collection="list" item="item" separator=",">
@@ -807,6 +817,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.updateBy},
#{item.updateByName},
#{item.delFlag},
#{item.driverName},
#{item.driver}
</trim>
</foreach>
</insert>
@@ -1068,6 +1080,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="enterAccountTimeEnd != null">
AND date_format(v.create_time,'%Y-%m-%d') <![CDATA[<=]]> #{enterAccountTimeEnd}
</if>
<if test="driverName != null and driverName != ''">
AND v.driver_name like concat('%', #{driverName}, '%')
</if>
<if test="driver != null and driver != ''">
AND v.driver like concat('%', #{driver}, '%')
</if>
<if test="paymentMethod != null ">
and v.payment_method = #{paymentMethod}