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.DomainCityQueryDto;
import com.chuanxia.mcp.bean.model.CdnDomainCity;
import com.chuanxia.mcp.bean.vo.CdnDomainCityVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CdnDomainCityMapper extends BaseMapper<CdnDomainCity> {
    IPage<CdnDomainCityVo> listPage(IPage<CdnDomainCityVo> page, @Param("queryDto") DomainCityQueryDto queryDto);

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