@be-link/pos-cli-nodejs 0.0.85 → 0.0.87
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
|
@@ -47,7 +47,7 @@ class QueryByCommodityService extends service_1.default {
|
|
|
47
47
|
return (0, http_1.callApi)(this.getApiUrl(this.getRollingSalesStatisticsTotalAmount), request);
|
|
48
48
|
}
|
|
49
49
|
queryRollingSalesStatistics(request) {
|
|
50
|
-
|
|
50
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryRollingSalesStatistics), request);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
const queryByCommodityService = new QueryByCommodityService();
|
|
@@ -273,6 +273,53 @@ export declare namespace Service {
|
|
|
273
273
|
/** 查询块 */
|
|
274
274
|
needBlocks: K;
|
|
275
275
|
}
|
|
276
|
+
interface IQueryOrderForStatistics<K> {
|
|
277
|
+
/** 条件 */
|
|
278
|
+
conditions: {
|
|
279
|
+
/** 状态 */
|
|
280
|
+
status?: string[];
|
|
281
|
+
/** 购买人姓名 */
|
|
282
|
+
contactName?: string;
|
|
283
|
+
/** 购买人手机号 */
|
|
284
|
+
contactMobile?: string;
|
|
285
|
+
/** 出行人姓名 */
|
|
286
|
+
tourismName?: string;
|
|
287
|
+
/** 出行人手机号 */
|
|
288
|
+
tourismMobile?: string;
|
|
289
|
+
/** 商品列表 */
|
|
290
|
+
itemIdList?: string[];
|
|
291
|
+
/** sku列表 */
|
|
292
|
+
skuIdList?: string[];
|
|
293
|
+
/** 来源人 */
|
|
294
|
+
fromUnionId?: string;
|
|
295
|
+
/** 二级类目 */
|
|
296
|
+
categoryTwoList?: string[];
|
|
297
|
+
/** 小队 */
|
|
298
|
+
groupIndex?: number;
|
|
299
|
+
/** 订单Id列表 */
|
|
300
|
+
tradeOrderIdList?: string[];
|
|
301
|
+
/** 出团日期范围 */
|
|
302
|
+
fulFillAtRange?: [number, number];
|
|
303
|
+
/** 订单创建时间筛选 */
|
|
304
|
+
createdAtRange?: [number, number];
|
|
305
|
+
/** 用户身份 */
|
|
306
|
+
userIdentity?: string;
|
|
307
|
+
/** 用户列表 */
|
|
308
|
+
unionIdList?: string[];
|
|
309
|
+
/** 门店列表 */
|
|
310
|
+
storeIdList?: string[];
|
|
311
|
+
/** 班车供应商 */
|
|
312
|
+
shuttleBusSupplier?: string;
|
|
313
|
+
/** 是否是首次交易 */
|
|
314
|
+
isFirstTradeOrder?: boolean;
|
|
315
|
+
/** 是否未完成备注 */
|
|
316
|
+
isNotFinishedNote?: boolean;
|
|
317
|
+
/** 是否排除已合并的订单 */
|
|
318
|
+
isExcludeMerged?: boolean;
|
|
319
|
+
};
|
|
320
|
+
/** 查询块 */
|
|
321
|
+
needBlocks: K;
|
|
322
|
+
}
|
|
276
323
|
interface queryStoreOrderList<K> {
|
|
277
324
|
/** 条件 */
|
|
278
325
|
conditions: {
|
|
@@ -621,8 +668,16 @@ export declare namespace Service {
|
|
|
621
668
|
* @path /query/web/get-order-count
|
|
622
669
|
*/
|
|
623
670
|
getOrderCount(request: Request.getOrderCount): Promise<number>;
|
|
624
|
-
/**
|
|
671
|
+
/**
|
|
672
|
+
* 查询订单操作记录
|
|
673
|
+
* @path /query/web/query-order-operate-record
|
|
674
|
+
*/
|
|
625
675
|
queryOrderOperateRecord(request: Request.IQueryOrderOperateRecord): Promise<DTO.IOrderOperatorRecord[]>;
|
|
676
|
+
/**
|
|
677
|
+
* 查询订单列表(统计类场景专用), 返回所有满足条件的订单数据, 不支持分页和排序
|
|
678
|
+
* @path /query/web/query-order-for-statistics
|
|
679
|
+
*/
|
|
680
|
+
queryOrderForStatistics<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Request.IQueryOrderForStatistics<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
626
681
|
}
|
|
627
682
|
/** 商品维度查询 */
|
|
628
683
|
interface QueryByCommodityController {
|
|
@@ -6,6 +6,7 @@ declare class QueryByWebService extends BaseService implements Service.QueryByWe
|
|
|
6
6
|
queryOrderList<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.queryOrderList<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
7
7
|
getOrderCount(request: Service.Request.getOrderCount): Promise<number>;
|
|
8
8
|
queryOrderOperateRecord(request: Service.Request.IQueryOrderOperateRecord): Promise<DTO.IOrderOperatorRecord[]>;
|
|
9
|
+
queryOrderForStatistics<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.IQueryOrderForStatistics<K>): Promise<DTO.QueryDataRes<K>[]>;
|
|
9
10
|
}
|
|
10
11
|
declare const queryByWebService: QueryByWebService;
|
|
11
12
|
export default queryByWebService;
|
|
@@ -19,6 +19,9 @@ class QueryByWebService extends service_1.default {
|
|
|
19
19
|
queryOrderOperateRecord(request) {
|
|
20
20
|
return (0, http_1.callApi)(this.getApiUrl(this.queryOrderOperateRecord), request);
|
|
21
21
|
}
|
|
22
|
+
queryOrderForStatistics(request) {
|
|
23
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryOrderForStatistics), request);
|
|
24
|
+
}
|
|
22
25
|
}
|
|
23
26
|
const queryByWebService = new QueryByWebService();
|
|
24
27
|
exports.default = queryByWebService;
|