package com.clx.performance.dao.breakcontract;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.breakcontract.BreakContractOwnerRuleMapper;
import com.clx.performance.model.breakcontract.BreakContractOwnerRule;
import com.clx.performance.param.pc.breakcontract.carrier.PageBreakContractOwnerRuleParam;
import com.clx.performance.vo.pc.breakcontract.carrier.BreakContractOwnerRuleVO;
import com.msl.common.base.Optional;
import com.msl.common.dao.BaseDao;

import java.util.List;

/**
 * @author liruixin
 * Date 2023-10-24
 * Time 16:02
 */
public interface BreakContractOwnerRuleDao extends BaseDao<BreakContractOwnerRuleMapper, BreakContractOwnerRule, Integer> {

    boolean updateRuleStatus(BreakContractOwnerRule item);
    boolean updateFile(BreakContractOwnerRule item);

    Optional<BreakContractOwnerRule> selectByName(String name);

    List<BreakContractOwnerRule> listEnable();

    IPage<BreakContractOwnerRuleVO> pageByParam(PageBreakContractOwnerRuleParam param);

}
