| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /** ================================= 现货报表 ================================**/
- import APP from '@/services';
- import * as type from './interface';
- import {commonSearch_go} from '@/goServiceAPI/index';
- import {QuerySpotDayReportReq} from "./interface";
- import {QuerySpotDayReportDetailReq} from "./interface";
- import {QuerySpotMonthReportReq} from "./interface";
- import {QuerySpotMonthReportDetailReq} from "./interface";
- /**
- * 查询现货报表
- * @param queryInfo 查询信息
- * @returns 现货报表
- */
- export async function QuerySpotDayReport(queryInfo:QuerySpotDayReportReq):Promise<type.QuerySpotDayReportRsp[]>
- {
- try {
- return commonSearch_go('/Ermcp/QryReportDaySpot', { queryInfo });
- } catch (err) {
- throw new Error(err.message);
- }
- }
-
- /**
- * 查询现货明细报表
- * @param queryInfo 查询信息
- * @returns 现货明细报表
- */
- export async function QuerySpotDayReportDetail(queryInfo:QuerySpotDayReportDetailReq):Promise<type.QuerySpotDayReportDetailRsp[]>
- {
- try {
- return commonSearch_go('/Ermcp/QryReportDaySpotDetail', { queryInfo });
- } catch (err) {
- throw new Error(err.message);
- }
- }
- /**
- * 查询现货月报表
- * @param queryInfo 查询信息
- * @returns 现货月报表数据
- */
- export async function QuerySpotMonthReport(queryInfo:QuerySpotMonthReportReq):Promise<type.QuerySpotMonthReportRsp[]>
- {
- try {
- return commonSearch_go('/Ermcp/QryReportMonthSpot', { queryInfo });
- } catch (err) {
- throw new Error(err.message);
- }
- }
- /**
- * 查询现货月报表明细
- * @param queryInfo 查询信息
- * @returns 现货月报表明细
- */
- export async function QuerySpotMonthReportDetail(queryInfo:QuerySpotMonthReportDetailReq):Promise<type.QuerySpotMonthReportDetailRsp[]>
- {
- try {
- return commonSearch_go('/Ermcp/QryReportMonthSpotDetail', { queryInfo });
- } catch (err) {
- throw new Error(err.message);
- }
- }
|