package com.sckw.payment.service;

import com.sckw.payment.dao.KwpSettlementTradeTrackMapper;
import com.sckw.payment.model.KwpSettlementTradeTrack;
import org.springframework.stereotype.Service;

/**
 * @author xucaiqin
 * @date 2023-07-10 16:38:36
 */
@Service
public class KwpSettlementTradeTrackService {

    private final KwpSettlementTradeTrackMapper settlementTradeTrackMapper;

    public KwpSettlementTradeTrackService(KwpSettlementTradeTrackMapper settlementTradeTrackMapper) {
        this.settlementTradeTrackMapper = settlementTradeTrackMapper;
    }

    /**
     * 保存结算记录数据
     *
     * @param kwpSettlementTradeTrack 结算记录
     */
    public void save(KwpSettlementTradeTrack kwpSettlementTradeTrack) {
        settlementTradeTrackMapper.insert(kwpSettlementTradeTrack);
    }
}
