package com.sqx.modules.address.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.address.entity.InsideAddress;
import com.sqx.modules.address.query.InsideAddressQuery;
import com.sqx.modules.address.vo.InsideAddressVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 内部地址 dao
 * @author codingliang
 * @date 2025-09-13
 */
@Mapper
public interface InsideAddressDao extends BaseMapper<InsideAddress> {

    IPage<InsideAddressVO> selectPages(@Param("page") Page<InsideAddress> page, @Param("query") InsideAddressQuery query);

    List<InsideAddressVO> exportShippingAddress(@Param("query") InsideAddressQuery query);
}
