import { Injectable, Injector } from '@angular/core';
import { BaseService } from '@shared';

@Injectable({
  providedIn: 'root'
})
export class ReportingService extends BaseService {

  $api_get_order_reporting_page = `/api/sdc/regulation/list/queryPage`; // 订单上报-列表
  $api_upload_order_reporting = `/api/sdc/regulation/push`; // 上传订单上报
  $api_recall_order_reporting = `/api/sdc/regulation/withdraw`; // 撤回上传订单上报
  $api_async_export_order_reporting_list = ``; // 导出订单上报
  $api_get_upload_setting = `/api/sdc/regulation/getPushConfig`; // 获取上传设置
  $api_upload_setting_save = `/api/sdc/regulation/setPushConfig`; // 保存上传设置
  $api_get_order_valid_result = `/api/sdc/regulation/queryPage/checkRes`;//订单上报-校验结果
  $api_update_order_data = `/api/sdc/regulation/renewalOrderById`;//订单批量更新订单数据
  $api_export_reporting_order = `/api/sdc/regulation/asyncExportBillReportList`; // 订单上报导出

  $api_get_fund_reporting_page = `/api/fcc/fundUploadHead/list/page`; // 资金上报列表
  $api_fund_reporting_upload = `/api/fcc/fundUploadHead/uploadFundNumber`; // 资金批量上传
  $api_fund_reporting_recall = `/api/fcc/fundUploadHead/recallUploadFundNumber`; //资金批量撤回
  $api_get_fund_valid_result = `/api/fcc/capitalFieldCheck/getCapitalFieldCheckList`; // 查询资金校验表
  $api_update_fund_data = `/api/fcc/fundUploadHead/updateUploadFundNumber`;//资金批量更新数据
  $api_export_fund_reporting = `/api/fcc/fundUploadHead/exportFundUpload`; // 导出资金上传


  constructor(public injector: Injector) {
    super(injector);
  }
}
