package com.clx.performance.dao.breakcontract;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.breakcontract.BreakContractOwnerRecordMapper;
import com.clx.performance.model.breakcontract.BreakContractOwnerRecord;
import com.clx.performance.param.pc.breakcontract.carrier.PageBreakContractOwnerRecordParam;
import com.clx.performance.param.pc.breakcontract.owner.PageOwnerBreakContractOwnerRecordParam;
import com.clx.performance.vo.pc.breakcontract.carrier.BreakContractOwnerRecordVO;
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 BreakContractOwnerRecordDao extends BaseDao<BreakContractOwnerRecordMapper, BreakContractOwnerRecord, Integer> {

    IPage<BreakContractOwnerRecordVO> pageByParam(PageBreakContractOwnerRecordParam param);

    IPage<BreakContractOwnerRecord> pageOwnerBreakContractOwnerRecordList(PageOwnerBreakContractOwnerRecordParam param);

    boolean uploadPayTime(BreakContractOwnerRecord breakContractOwnerRecord);

    boolean updateConfirmStatus(BreakContractOwnerRecord breakContractOwnerRecord);

    List<BreakContractOwnerRecord> ownerNoConfirmTwoDaysList(LocalDateTime now);

}
