@be-link/pos-cli-nodejs 0.0.169 → 0.0.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ declare class QueryBySupplierService extends BaseService implements Service.Quer
|
|
|
6
6
|
queryRejectReasons(request: Service.Request.queryRejectReasons): Promise<Service.Response.queryRejectReasons>;
|
|
7
7
|
queryOrderList<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.querySupplierOrderList<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
8
8
|
getOrderCount(request: Service.Request.getSupplierOrderCount): Promise<number>;
|
|
9
|
+
queryOrderForStatistics<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.IQueryOrderForStatisticsForSupplier<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
9
10
|
}
|
|
10
11
|
declare const queryByStoreService: QueryBySupplierService;
|
|
11
12
|
export default queryByStoreService;
|
|
@@ -19,6 +19,9 @@ class QueryBySupplierService extends service_1.default {
|
|
|
19
19
|
getOrderCount(request) {
|
|
20
20
|
return (0, http_1.callApi)(this.getApiUrl(this.getOrderCount), request);
|
|
21
21
|
}
|
|
22
|
+
queryOrderForStatistics(request) {
|
|
23
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryOrderForStatistics), request);
|
|
24
|
+
}
|
|
22
25
|
}
|
|
23
26
|
const queryByStoreService = new QueryBySupplierService();
|
|
24
27
|
exports.default = queryByStoreService;
|
|
@@ -378,6 +378,33 @@ export declare namespace Service {
|
|
|
378
378
|
/** 查询页码 */
|
|
379
379
|
pageIndex?: number;
|
|
380
380
|
}
|
|
381
|
+
interface IQueryOrderForStatisticsForSupplier<K> {
|
|
382
|
+
/** 条件 */
|
|
383
|
+
conditions: {
|
|
384
|
+
/** id列表 */
|
|
385
|
+
idList?: string[];
|
|
386
|
+
/** 状态 */
|
|
387
|
+
statusList?: string[];
|
|
388
|
+
/** 购买人姓名 */
|
|
389
|
+
contactName?: string;
|
|
390
|
+
/** 购买人手机号 */
|
|
391
|
+
contactMobile?: string;
|
|
392
|
+
/** 二级类目 */
|
|
393
|
+
categoryTwoList?: string[];
|
|
394
|
+
/** 出团日期范围 */
|
|
395
|
+
fulFillAtRange?: [number, number];
|
|
396
|
+
/** 订单创建时间筛选 */
|
|
397
|
+
createdAtRange?: [number, number];
|
|
398
|
+
/** 供应商列表 */
|
|
399
|
+
supplierIdList: string[];
|
|
400
|
+
};
|
|
401
|
+
/** 查询块 */
|
|
402
|
+
needBlocks: K;
|
|
403
|
+
/** 查询条数 */
|
|
404
|
+
pageSize?: number;
|
|
405
|
+
/** 查询页码 */
|
|
406
|
+
pageIndex?: number;
|
|
407
|
+
}
|
|
381
408
|
interface queryStoreOrderList<K> {
|
|
382
409
|
/** 条件 */
|
|
383
410
|
conditions: {
|
|
@@ -417,6 +444,8 @@ export declare namespace Service {
|
|
|
417
444
|
interface querySupplierOrderList<K> {
|
|
418
445
|
/** 条件 */
|
|
419
446
|
conditions: {
|
|
447
|
+
/** id列表 */
|
|
448
|
+
idList?: string[];
|
|
420
449
|
/** 状态 */
|
|
421
450
|
statusList?: string[];
|
|
422
451
|
/** 购买人姓名 */
|
|
@@ -431,10 +460,6 @@ export declare namespace Service {
|
|
|
431
460
|
createdAtRange?: [number, number];
|
|
432
461
|
/** 供应商列表 */
|
|
433
462
|
supplierIdList: string[];
|
|
434
|
-
/** 出行人姓名 */
|
|
435
|
-
tourismName?: string;
|
|
436
|
-
/** 出行人手机号 */
|
|
437
|
-
tourismMobile?: string;
|
|
438
463
|
/** 页面条数 */
|
|
439
464
|
pageSize?: number;
|
|
440
465
|
/** 页面下标 */
|
|
@@ -527,6 +552,8 @@ export declare namespace Service {
|
|
|
527
552
|
storeIdList: string[];
|
|
528
553
|
}
|
|
529
554
|
interface getSupplierOrderCount {
|
|
555
|
+
/** id列表 */
|
|
556
|
+
idList?: string[];
|
|
530
557
|
/** 状态 */
|
|
531
558
|
statusList?: string[];
|
|
532
559
|
/** 购买人姓名 */
|
|
@@ -541,10 +568,6 @@ export declare namespace Service {
|
|
|
541
568
|
createdAtRange?: [number, number];
|
|
542
569
|
/** 供应商列表 */
|
|
543
570
|
supplierIdList: string[];
|
|
544
|
-
/** 出行人姓名 */
|
|
545
|
-
tourismName?: string;
|
|
546
|
-
/** 出行人手机号 */
|
|
547
|
-
tourismMobile?: string;
|
|
548
571
|
}
|
|
549
572
|
interface getOrderCount {
|
|
550
573
|
/** 状态 */
|
|
@@ -853,6 +876,11 @@ export declare namespace Service {
|
|
|
853
876
|
* @path /query/supplier/query-reject-reasons
|
|
854
877
|
*/
|
|
855
878
|
queryRejectReasons(request: Request.queryRejectReasons): Promise<Response.queryRejectReasons>;
|
|
879
|
+
/**
|
|
880
|
+
* 数据统计
|
|
881
|
+
* @path /query/supplier/query-order-for-statistics
|
|
882
|
+
*/
|
|
883
|
+
queryOrderForStatistics<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Request.IQueryOrderForStatisticsForSupplier<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
856
884
|
}
|
|
857
885
|
/** web查询 */
|
|
858
886
|
interface QueryByWebController {
|