package net.lab1024.sa.admin.module.business.wms.base.area.dao;

import java.util.List;

import net.lab1024.sa.admin.module.business.wms.base.area.domain.entity.AreaEntity;
import net.lab1024.sa.admin.module.business.wms.base.area.domain.form.AreaQueryForm;
import net.lab1024.sa.admin.module.business.wms.base.area.domain.vo.AreaVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.wms.base.area.domain.entity.AreaEntity;
import net.lab1024.sa.admin.module.business.wms.base.area.domain.vo.AreaVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * 库区信息 Dao
 *
 * @author hj
 * @since 2025-03-11 11:12:36
 * copyright 友仓
 */

@Mapper
@Component
public interface AreaDao extends BaseMapper<AreaEntity> {

    /**
     * 分页 查询
     *
     * @param page      分页
     * @param queryForm 查询参数
     * @return List<AreaVO>
     */
    List<AreaVO> queryPage(Page page, @Param("queryForm") AreaQueryForm queryForm);

}
