package com.jwipc.tender.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.tender.entity.QuotaManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.tender.model.po.QuotaManagementPO;
import com.jwipc.tender.model.query.QuotaEditQuery;
import com.jwipc.tender.model.query.QuotaManagementQuery;
import com.jwipc.security.dto.CurrentUserDTO;
import java.util.List;

/**
 * <p>
 * 供应商配额管理 服务类
 * </p>
 *
 * @author AL
 * @since 2024-03-02
 */
public interface IQuotaManagementService extends IService<QuotaManagement> {

    List<QuotaManagementPO> findByPage(Page<QuotaManagement> dbPage, QuotaManagementQuery query);
    List<QuotaManagementPO> findByPageExport(Page<QuotaManagement> dbPage, QuotaManagementQuery query);
    List<QuotaManagementPO> bidFindByPage(Page<QuotaManagement> dbPage, QuotaManagementQuery query);
    //List<QuotaManagementPO> findPageByQuery(Page<QuotaManagement> dbPage, QuotaManagementQuery query);
    List<QuotaManagementPO> editFindByPage(Page<QuotaManagement> dbPage, QuotaEditQuery query);

    List<QuotaManagementPO> supplierFindByPage(Page<QuotaManagement> dbPage, QuotaEditQuery query);

    /**
     * 保存or更新
     * @param quotaListJson :
     * @param user
     * @return : void
     * @Author qingc
     * @Date 2022/5/6
     */
//    List<QuotaManagement> saveOrUpdate(String quotaListJson, CurrentUserDTO user) throws Exception;

}
