package com.zzsmart.qomo.kn.cost.manage.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzsmart.qomo.kn.cost.manage.entity.CostStandardDetail;
import com.zzsmart.qomo.kn.cost.manage.vo.CostStandardDetailSearch;
import com.zzsmart.qomo.kn.cost.manage.vo.CostStandardDetailVO;

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

/**
 * <p>
 * 标准成本明细表 服务类
 * </p>
 *
 * @author app_scene_cost_purchase_price
 * @since 2024-06-19
 */
public interface CostStandardDetailService extends IService<CostStandardDetail> {
    /**
     * 分页查询
     *
     * @param page
     * @param
     * @return
     */
    IPage<CostStandardDetailVO> pageList(Page<CostStandardDetailVO> page, CostStandardDetailVO costStandard);

    /**
     * 导出列表信息为Excel文件
     *
     * @param request
     * @param response
     * @param costStandardDetailSearch
     * @return
     */
    JSONObject exportExcel(HttpServletRequest request, HttpServletResponse response, CostStandardDetailSearch costStandardDetailSearch);
}
