@be-link/pos-cli-nodejs 0.0.73 → 0.0.75
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
|
@@ -599,6 +599,8 @@ export declare namespace Service {
|
|
|
599
599
|
* @path /query/web/get-order-count
|
|
600
600
|
*/
|
|
601
601
|
getOrderCount(request: Request.getOrderCount): Promise<number>;
|
|
602
|
+
/** 查询订单操作记录 */
|
|
603
|
+
queryOrderOperatorRecord(positiveOrderId: string): Promise<DTO.IOrderOperatorRecord[]>;
|
|
602
604
|
}
|
|
603
605
|
/** 商品维度查询 */
|
|
604
606
|
interface QueryByCommodityController {
|
|
@@ -5,6 +5,7 @@ declare class QueryByWebService extends BaseService implements Service.QueryByWe
|
|
|
5
5
|
protected prefixUrl: string;
|
|
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
|
+
queryOrderOperatorRecord(positiveOrderId: string): Promise<DTO.IOrderOperatorRecord[]>;
|
|
8
9
|
}
|
|
9
10
|
declare const queryByWebService: QueryByWebService;
|
|
10
11
|
export default queryByWebService;
|
|
@@ -16,6 +16,9 @@ class QueryByWebService extends service_1.default {
|
|
|
16
16
|
getOrderCount(request) {
|
|
17
17
|
return (0, http_1.callApi)(this.getApiUrl(this.getOrderCount), request);
|
|
18
18
|
}
|
|
19
|
+
queryOrderOperatorRecord(positiveOrderId) {
|
|
20
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryOrderOperatorRecord), positiveOrderId);
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
const queryByWebService = new QueryByWebService();
|
|
21
24
|
exports.default = queryByWebService;
|