应收账单创建时间修改

This commit is contained in:
赵辉
2026-02-05 10:48:33 +08:00
parent 7f6d04e122
commit 37dd75622a
8 changed files with 205 additions and 1 deletions
@@ -207,4 +207,137 @@ 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,
settlement_count,
party_name,
settlement_party_id,
payer_type,
bill_remark,
settlement_remark,
order_shipping_type,
department_name,
user_id,
shipper_name,
waybill_source,
waybill_source_name,
reconciliation_start,
reconciliation_end,
bill_name,
collection_amount,
change_amount,
other_amount,
receivable,
actual_receivable,
uncollected_receivable,
collection_state,
audit_state,
create_time,
create_by,
create_by_name,
update_time,
update_by,
update_by_name,
del_flag,
organization_id,
organization_name,
top_organization_id,
auditor,
auditor_name,
auth_time,
inner_number,
remark,
auth_remark,
auth_file,
waybill_verify_flag,
waybill_verify_time,
invoice_cost_has,
invoice_apply_status,
invoice_info_id,
audit_number,
audit_status,
audit_type,
audit_remark,
instance_id,
approval_status,
approval_result,
is_invoice,
invoice_id,
invoice_make_time,
apply_number,
synchronous_status,
synchronous_time,
nc_id,
sk_synchronous_status,
sk_synchronous_time,
sk_nc_id
) VALUES (
#{verificationMoney},
#{settlementCount},
#{partyName},
#{settlementPartyId},
#{payerType},
#{billRemark},
#{settlementRemark},
#{orderShippingType},
#{departmentName},
#{userId},
#{shipperName},
#{waybillSource},
#{waybillSourceName},
#{reconciliationStart},
#{reconciliationEnd},
#{billName},
#{collectionAmount},
#{changeAmount},
#{otherAmount},
#{receivable},
#{actualReceivable},
#{uncollectedReceivable},
#{collectionState},
#{auditState},
#{createTime},
#{createBy},
#{createByName},
#{updateTime},
#{updateBy},
#{updateByName},
#{delFlag},
#{organizationId},
#{organizationName},
#{topOrganizationId},
#{auditor},
#{auditorName},
#{authTime},
#{innerNumber},
#{remark},
#{authRemark},
#{authFile},
#{waybillVerifyFlag},
#{waybillVerifyTime},
#{invoiceCostHas},
#{invoiceApplyStatus},
#{invoiceInfoId},
#{auditNumber},
#{auditStatus},
#{auditType},
#{auditRemark},
#{instanceId},
#{approvalStatus},
#{approvalResult},
#{isInvoice},
#{invoiceId},
#{invoiceMakeTime},
#{applyNumber},
#{synchronousStatus},
#{synchronousTime},
#{ncId},
#{skSynchronousStatus},
#{skSynchronousTime},
#{skNcId}
)
</insert>
</mapper>