/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.inventorymanage.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.openhis.web.inventorymanage.dto.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 追溯码 mapper
 *
 * @author yuxj
 * @date 2025-07-08
 */
@Repository
public interface TraceNoAppMapper {
    /**
     * 查询追溯码信息分页列表
     *
     * @param page         分页
     * @param queryWrapper 查询条件
     * @param queryWrapper 查询条件
     * @return
     */
    Page<TraceNoDetailsPageDto> selectDetailsPage(@Param("page") Page<TraceNoDetailsPageDto> page,
                                                  @Param(Constants.WRAPPER) QueryWrapper<TraceNoSearchParam> queryWrapper);
}
