package com.jwipc.contract.impl;

import com.jwipc.contract.client.ContractPaymentApplyClient;
import com.jwipc.contract.logic.ContractPaymentApplyLogic;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author shenyang.ou
 * @date 2024/7/23 16:29
 * @desc
 */

@Service
@RequiredArgsConstructor
public class ContractPaymentApplyClientImpl implements ContractPaymentApplyClient {
    private final ContractPaymentApplyLogic contractPaymentApplyLogic;
    @Override
    public void updateContractPaymentStatus(Long id, String itemCode) {
        contractPaymentApplyLogic.updateContractPaymentStatus(id, itemCode);
    }

    @Override
    public void updateContractPaymentApply(Map updateMap) {
        contractPaymentApplyLogic.updateContractPaymentApply(updateMap);
    }
}
