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

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.core.common.core.domain.R;
import com.openhis.web.reportmanage.dto.LossReportSearchParam;
import com.openhis.web.reportmanage.dto.OutboundReportSearchParam;
import com.openhis.web.reportmanage.dto.StocktakingReportSearchParam;

/**
 * 报损明细报表 appService
 *
 * @author ym
 * @date 2025-05-21
 */
public interface ILossReportAppService {

    /**
     * 库存盘点明细列表
     *
     * @param lossReportSearchParam 报损明细查询条件
     * @param pageNo 当前页码
     * @param pageSize 查询条数
     * @param searchKey 模糊查询关键字
     * @param request 请求数据
     * @return 报损明细
     */
    R<?> getPage(LossReportSearchParam lossReportSearchParam, Integer pageNo, Integer pageSize, String searchKey,
        HttpServletRequest request);

    /**
     * 导出
     *
     * @param lossReportSearchParam 报损明细查询条件
     * @param pageNo 当前页码
     * @param pageSize 查询条数
     * @param searchKey 模糊查询关键字
     * @param request 请求数据
     * @return 单据详情
     */
    R<?> makeExcelFile(LossReportSearchParam lossReportSearchParam, Integer pageNo, Integer pageSize, String searchKey,
        HttpServletRequest request, HttpServletResponse response);
}
