package com.clx.performance.dao.breakcontract;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.breakcontract.BreakContractSettlementDriverMapper;
import com.clx.performance.model.breakcontract.BreakContractSettlementDriver;
import com.clx.performance.param.pc.breakcontract.carrier.PageCarrierBreakContractSettlementDriverParam;
import com.msl.common.base.Optional;
import com.msl.common.dao.BaseDao;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author liruixin
 * Date 2023-10-24
 * Time 16:02
 */
public interface BreakContractSettlementDriverDao extends BaseDao<BreakContractSettlementDriverMapper, BreakContractSettlementDriver, Integer> {

    boolean updateSettlementStatus(BreakContractSettlementDriver item);

    boolean updatePayFail(BreakContractSettlementDriver item);

    Optional<BreakContractSettlementDriver> selectBySettlementNo(String settlementNo);

    IPage<BreakContractSettlementDriver> pageCarrierBreakContractSettlementDriverList(PageCarrierBreakContractSettlementDriverParam param);

    List<BreakContractSettlementDriver> listUnpay(LocalDateTime beginTime);


}
