package com.dxhy.jxpt.baseService.cpyAuthInvoice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxhy.api.model.config.UserInfo;
import com.dxhy.api.model.cpy.pageImport.CpyImportCustomReq;
import com.dxhy.api.model.db.TdxCustomsRecordEntity;
import com.dxhy.common.utils.R;
import org.springframework.http.ResponseEntity;

import java.util.List;
import java.util.Map;

/**
* @Description 成品油缴款书勾选业务
* @Author wangruwei
* @Date 2024/7/12 10:10
**/
public interface CpyAuthCustomService extends IService<TdxCustomsRecordEntity> {

    /**
     * @Description 成品油缴款书勾选-页面查询接口
     * @param pramsMap
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/12 10:42
     **/
    Object selectAuthPageList(Map<String, Object> pramsMap, int curr, int size);

    /**
     * @Description 成品油状态-页面状态统计接口
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/12 10:42
     *
     * @param pramsMap*/
    Object selectCountStatusPage(Map<String, Object> pramsMap);

    /**
     * @Description 成品油批量勾选入库接口
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/16 14:25
     **/
    Object cpyGxByCustoms(List<String> uuidList, UserInfo userInfo);

    /**
     * @Description 成品油状态-选中缴款书提示勾选总吨数
     * @param
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/16 17:09
     **/
    Object selCustomCount(List<String> costomList);
    /**
     * @Description 成品油全部勾选入库接口--根据页面查询条件全部勾选
     * @param pramsMap
     * @param userInfo
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/16 14:25
     **/
    Object cpyGxBySelCondition(Map<String, Object> pramsMap, UserInfo userInfo);

    /**
     * @Description 成品油全部勾选入库接口--根据页面查询条件提示勾选总吨数
     * @param
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/16 17:09
     **/
    Map<String,Object> cpyGxBySelConditionCount(Map<String, Object> pramsMap);

    /**
     * @Description 成品油导入勾选-缴款书
     * @param cpyImportInvioceReqList
     * @param gfshAll
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/7/17 10:43
     **/
    ResponseEntity<R> cpyImportCustom(List<CpyImportCustomReq> cpyImportInvioceReqList, UserInfo userInfo, List<String> gfshAll);
}
