package com.clx.performance.dao.settle;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.settle.SettlementOrderChildRiskMapper;
import com.clx.performance.model.settle.SettlementOrderChildRisk;
import com.clx.performance.param.pc.carrier.PageSettlementOrderChildRiskParam;
import com.msl.common.base.Optional;
import com.msl.common.dao.BaseDao;

public interface SettlementOrderChildRiskDao
        extends BaseDao<SettlementOrderChildRiskMapper,
        SettlementOrderChildRisk, Integer> {

    boolean updateProcess(SettlementOrderChildRisk item);


    Optional<SettlementOrderChildRisk> getById(Integer id);
    Optional<SettlementOrderChildRisk> findLastByChildNo(String childNo);

    IPage<SettlementOrderChildRisk> pageSettlementOrderChildRisk(PageSettlementOrderChildRiskParam param);
}