package net.lab1024.sa.admin.module.business.base.address.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.base.address.domain.entity.AddressEntity;
import net.lab1024.sa.admin.module.business.base.address.domain.form.AddressQueryForm;
import net.lab1024.sa.admin.module.business.base.address.domain.vo.AddressVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 收货地址 Dao
 *
 * @Author hj
 * @Date 2024-12-26 15:35:23
 * @Copyright 友仓
 */

@Mapper
@Component
public interface AddressDao extends BaseMapper<AddressEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<AddressVO> queryPage(Page page, @Param("queryForm") AddressQueryForm queryForm);

}
