package com.chuanxia.mcp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chuanxia.mcp.bean.dto.DomainTimeRuleQueryDto;
import com.chuanxia.mcp.bean.model.CdnDomainTimeRule;
import com.chuanxia.mcp.bean.vo.CdnDomainTimeRuleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CdnDomainTimeRuleMapper extends BaseMapper<CdnDomainTimeRule> {
    IPage<CdnDomainTimeRuleVo> listPage(IPage<CdnDomainTimeRuleVo> page, @Param("queryDto") DomainTimeRuleQueryDto queryDto);

    void updateDomainByDomainId(@Param("domainId")Integer domainId,@Param("domain")String domain);
}
