@be-link/cs-cli-nodejs 0.1.38 → 0.1.40
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/cs/modules/itemDiscountActivity/types.d.ts +35 -0
- package/cs/modules/shuttleBusSupplier/service.d.ts +1 -0
- package/cs/modules/shuttleBusSupplier/service.js +3 -0
- package/cs/modules/shuttleBusSupplier/service.js.map +1 -1
- package/cs/modules/shuttleBusSupplier/types.d.ts +89 -5
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,50 +2,77 @@ import { CommonStatus, ItemDiscountActivityDiscountType } from 'vitality-meta/en
|
|
|
2
2
|
export declare namespace ItemDiscountActivityNamespace {
|
|
3
3
|
namespace DTO {
|
|
4
4
|
interface IItemDiscountActivity {
|
|
5
|
+
/** 活动ID */
|
|
5
6
|
id: string;
|
|
7
|
+
/** 活动状态 */
|
|
6
8
|
status: CommonStatus;
|
|
9
|
+
/** 商品ID */
|
|
7
10
|
itemId: string;
|
|
11
|
+
/** 套餐ID */
|
|
8
12
|
comboId: string;
|
|
13
|
+
/** 活动类型 */
|
|
9
14
|
type: ItemDiscountActivityDiscountType;
|
|
15
|
+
/** 连住晚数 */
|
|
10
16
|
nightNum: number;
|
|
17
|
+
/** 折扣类型 */
|
|
11
18
|
discountType: string;
|
|
19
|
+
/** 折扣销售价格 */
|
|
12
20
|
discountSalePrice: number;
|
|
21
|
+
/** 折扣结算价格 */
|
|
13
22
|
discountSettlementPrice: number;
|
|
14
23
|
}
|
|
15
24
|
}
|
|
16
25
|
namespace Request {
|
|
17
26
|
interface IGet {
|
|
27
|
+
/** 活动ID */
|
|
18
28
|
id: string;
|
|
19
29
|
}
|
|
20
30
|
interface IMget {
|
|
31
|
+
/** 活动ID列表 */
|
|
21
32
|
idList: string[];
|
|
22
33
|
}
|
|
23
34
|
interface IQueryByItem {
|
|
35
|
+
/** 商品ID */
|
|
24
36
|
itemId: string;
|
|
37
|
+
/** 状态列表 */
|
|
25
38
|
statusList?: CommonStatus[];
|
|
26
39
|
}
|
|
27
40
|
interface IGetEffectiveByCombo {
|
|
41
|
+
/** 套餐ID */
|
|
28
42
|
comboId: string;
|
|
29
43
|
}
|
|
30
44
|
interface IMgetEffectiveByCombo {
|
|
45
|
+
/** 套餐ID列表 */
|
|
31
46
|
comboIdList: string[];
|
|
32
47
|
}
|
|
33
48
|
interface ICreate {
|
|
49
|
+
/** 商品ID */
|
|
34
50
|
itemId: string;
|
|
51
|
+
/** 套餐ID */
|
|
35
52
|
comboId: string;
|
|
53
|
+
/** 活动类型 */
|
|
36
54
|
type: ItemDiscountActivityDiscountType;
|
|
55
|
+
/** 连住晚数 */
|
|
37
56
|
nightNum: number;
|
|
57
|
+
/** 折扣类型 */
|
|
38
58
|
discountType: string;
|
|
59
|
+
/** 折扣销售价格 */
|
|
39
60
|
discountSalePrice: number;
|
|
61
|
+
/** 折扣结算价格 */
|
|
40
62
|
discountSettlementPrice: number;
|
|
41
63
|
}
|
|
42
64
|
type IUpdate = {
|
|
65
|
+
/** 活动ID */
|
|
43
66
|
id: string;
|
|
67
|
+
/** 连住晚数 */
|
|
44
68
|
nightNum?: number;
|
|
69
|
+
/** 折扣销售价格 */
|
|
45
70
|
discountSalePrice?: number;
|
|
71
|
+
/** 折扣结算价格 */
|
|
46
72
|
discountSettlementPrice?: number;
|
|
47
73
|
};
|
|
48
74
|
interface IDelete {
|
|
75
|
+
/** 活动ID */
|
|
49
76
|
id: string;
|
|
50
77
|
}
|
|
51
78
|
}
|
|
@@ -57,13 +84,21 @@ export declare namespace ItemDiscountActivityNamespace {
|
|
|
57
84
|
type IMetEffectiveByCombo = Record<string, DTO.IItemDiscountActivity>;
|
|
58
85
|
}
|
|
59
86
|
interface Controller {
|
|
87
|
+
/** 获取单个活动详情 */
|
|
60
88
|
get(request: Request.IGet): Promise<Response.IGet>;
|
|
89
|
+
/** 批量获取活动详情 */
|
|
61
90
|
mget(request: Request.IMget): Promise<Response.IMet>;
|
|
91
|
+
/** 根据商品ID查询活动 */
|
|
62
92
|
queryByItem(request: Request.IQueryByItem): Promise<Response.IQueryByItem>;
|
|
93
|
+
/** 根据套餐ID获取有效活动 */
|
|
63
94
|
getEffectiveByCombo(request: Request.IGetEffectiveByCombo): Promise<Response.IGetEffectiveByCombo>;
|
|
95
|
+
/** 批量获取有效活动 */
|
|
64
96
|
mgetEffectiveByCombo(request: Request.IMgetEffectiveByCombo): Promise<Response.IMetEffectiveByCombo>;
|
|
97
|
+
/** 创建活动 */
|
|
65
98
|
create(request: Request.ICreate): Promise<void>;
|
|
99
|
+
/** 更新活动 */
|
|
66
100
|
update(request: Request.IUpdate): Promise<void>;
|
|
101
|
+
/** 删除活动 */
|
|
67
102
|
delete(request: Request.IDelete): Promise<void>;
|
|
68
103
|
}
|
|
69
104
|
}
|
|
@@ -15,6 +15,7 @@ declare class ShuttleBusSupplierService extends BaseService implements ShuttleBu
|
|
|
15
15
|
queryRouteByIds(request: ShuttleBusSupplier.Request.queryRouteByIds): Promise<ShuttleBusSupplier.Response.queryRouteByIds>;
|
|
16
16
|
queryChangeableRoute(request: ShuttleBusSupplier.Request.queryChangeableRoute): Promise<ShuttleBusSupplier.Response.queryChangeableRoute>;
|
|
17
17
|
queryShuttleBusSupplierByIds(request: ShuttleBusSupplier.Request.queryShuttleBusSupplierByIds): Promise<ShuttleBusSupplier.Response.queryShuttleBusSupplierByIds>;
|
|
18
|
+
queryShuttleBusRelationStockByRelation(request: ShuttleBusSupplier.Request.queryShuttleBusRelationStockByRelation): Promise<ShuttleBusSupplier.Response.queryShuttleBusRelationStockByRelation>;
|
|
18
19
|
}
|
|
19
20
|
declare const shuttleBusSupplierService: ShuttleBusSupplierService;
|
|
20
21
|
export default shuttleBusSupplierService;
|
|
@@ -49,6 +49,9 @@ class ShuttleBusSupplierService extends baseService_1.default {
|
|
|
49
49
|
queryShuttleBusSupplierByIds(request) {
|
|
50
50
|
return (0, http_1.callApi)(this.getApiUrl(this.queryShuttleBusSupplierByIds), request);
|
|
51
51
|
}
|
|
52
|
+
queryShuttleBusRelationStockByRelation(request) {
|
|
53
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryShuttleBusRelationStockByRelation), request);
|
|
54
|
+
}
|
|
52
55
|
}
|
|
53
56
|
const shuttleBusSupplierService = new ShuttleBusSupplierService();
|
|
54
57
|
exports.default = shuttleBusSupplierService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,yBAA0B,SAAQ,qBAAW;IAAnD;;QACE,cAAS,GAAG,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/shuttleBusSupplier/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,yBAA0B,SAAQ,qBAAW;IAAnD;;QACE,cAAS,GAAG,cAAc,CAAA;IA0H5B,CAAC;IAzHC,2BAA2B,CACzB,OAA+D;QAE/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;IAED,wBAAwB,CACtB,OAA4D;QAE5D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAC7C,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAClB,OAAwD;QAExD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;IAED,8BAA8B,CAC5B,OAAkE;QAElE,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,8BAA8B,CAAC,EACnD,OAAO,CACR,CAAA;IACH,CAAC;IAED,2BAA2B,CACzB,OAA+D;QAE/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;IAED,uCAAuC,CACrC,OAA2E;QAE3E,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uCAAuC,CAAC,EAC5D,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAAkD;QAC/D,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;IAED,qBAAqB,CAAC,OAAyD;QAC7E,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAC1C,OAAO,CACR,CAAA;IACH,CAAC;IAED,8BAA8B,CAC5B,OAAmE;QAEnE,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,8BAA8B,CAAC,EACnD,OAAO,CACR,CAAA;IACH,CAAC;IAED,iCAAiC,CAC/B,OAAsE;QAEtE,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iCAAiC,CAAC,EACtD,OAAO,CACR,CAAA;IACH,CAAC;IAED,eAAe,CACb,OAAmD;QAEnD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,EACpC,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAClB,OAAwD;QAExD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;IAED,4BAA4B,CAC1B,OAAgE;QAEhE,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,4BAA4B,CAAC,EACjD,OAAO,CACR,CAAA;IACH,CAAC;IAED,sCAAsC,CACpC,OAA0E;QAE1E,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sCAAsC,CAAC,EAC3D,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,yBAAyB,GAAG,IAAI,yBAAyB,EAAE,CAAA;AAEjE,kBAAe,yBAAyB,CAAA"}
|
|
@@ -21,6 +21,7 @@ export declare namespace ShuttleBusSupplier {
|
|
|
21
21
|
status: CommonStatus;
|
|
22
22
|
}
|
|
23
23
|
interface ShuttleBusRouteInfo {
|
|
24
|
+
/** 班车路线ID */
|
|
24
25
|
id: string;
|
|
25
26
|
/** 班车供应商ID */
|
|
26
27
|
supplierId: string;
|
|
@@ -40,12 +41,13 @@ export declare namespace ShuttleBusSupplier {
|
|
|
40
41
|
status: CommonStatus;
|
|
41
42
|
}
|
|
42
43
|
interface ItemShuttleBusRouteRelation {
|
|
44
|
+
/** 关系ID */
|
|
43
45
|
id: string;
|
|
44
46
|
/** 商品ID */
|
|
45
47
|
itemId: string;
|
|
46
48
|
/** 班车供应商ID */
|
|
47
49
|
supplierId: string;
|
|
48
|
-
/**
|
|
50
|
+
/** 班车路线ID */
|
|
49
51
|
routeId: string;
|
|
50
52
|
/** 售卖价格 */
|
|
51
53
|
salePrice: number;
|
|
@@ -62,9 +64,26 @@ export declare namespace ShuttleBusSupplier {
|
|
|
62
64
|
/** 状态 */
|
|
63
65
|
status: CommonSaleStatus;
|
|
64
66
|
}
|
|
67
|
+
interface ItemShuttleBusRouteRelationStock {
|
|
68
|
+
/** 库存ID */
|
|
69
|
+
id: string;
|
|
70
|
+
/** 商品ID */
|
|
71
|
+
itemId: string;
|
|
72
|
+
/** 供应商ID */
|
|
73
|
+
supplierId: string;
|
|
74
|
+
/** 关系ID */
|
|
75
|
+
relationId: string;
|
|
76
|
+
/** 路线ID */
|
|
77
|
+
routeId: string;
|
|
78
|
+
/** 日期 */
|
|
79
|
+
date: number;
|
|
80
|
+
/** 库存数量 */
|
|
81
|
+
stock: number;
|
|
82
|
+
}
|
|
65
83
|
}
|
|
66
84
|
namespace Request {
|
|
67
85
|
interface QueryShuttleBusSupplierList {
|
|
86
|
+
/** 供应商ID列表 */
|
|
68
87
|
idList?: string[];
|
|
69
88
|
/** 供应商名称 */
|
|
70
89
|
name?: string;
|
|
@@ -74,38 +93,55 @@ export declare namespace ShuttleBusSupplier {
|
|
|
74
93
|
pageSize: number;
|
|
75
94
|
}
|
|
76
95
|
interface UpsertShuttleBusSupplier {
|
|
96
|
+
/** 供应商ID */
|
|
77
97
|
id?: string;
|
|
98
|
+
/** 供应商名称 */
|
|
78
99
|
name: string;
|
|
79
|
-
/**
|
|
100
|
+
/** 联系人姓名 */
|
|
80
101
|
contactName: string;
|
|
81
|
-
/**
|
|
102
|
+
/** 联系人手机号码 */
|
|
82
103
|
contactMobile: string;
|
|
83
104
|
/** 业务负责人 */
|
|
84
105
|
bizOwner: string;
|
|
85
|
-
/**
|
|
106
|
+
/** 企业微信ID */
|
|
86
107
|
wxGroupId: string;
|
|
87
|
-
/**
|
|
108
|
+
/** 描述信息 */
|
|
88
109
|
description: string;
|
|
89
110
|
}
|
|
90
111
|
interface QueryShuttleBusRoute {
|
|
112
|
+
/** 路线ID列表 */
|
|
91
113
|
idList?: string[];
|
|
114
|
+
/** 供应商ID */
|
|
92
115
|
supplierId?: string;
|
|
116
|
+
/** 供应商名称 */
|
|
93
117
|
supplierName?: string;
|
|
118
|
+
/** 上车点城市 */
|
|
94
119
|
departureCity?: string;
|
|
120
|
+
/** 上车点地址 */
|
|
95
121
|
departureAddress?: string;
|
|
122
|
+
/** 页码,从0开始 */
|
|
96
123
|
pageIndex: number;
|
|
124
|
+
/** 每页数量 */
|
|
97
125
|
pageSize: number;
|
|
98
126
|
}
|
|
99
127
|
interface QueryShuttleBusRouteWithItemId {
|
|
128
|
+
/** 路线ID列表 */
|
|
100
129
|
idList?: string[];
|
|
130
|
+
/** 商品ID */
|
|
101
131
|
itemId: string;
|
|
132
|
+
/** 供应商名称 */
|
|
102
133
|
supplierName?: string;
|
|
134
|
+
/** 上车点城市 */
|
|
103
135
|
departureCity?: string;
|
|
136
|
+
/** 上车点地址 */
|
|
104
137
|
departureAddress?: string;
|
|
138
|
+
/** 页码,从0开始 */
|
|
105
139
|
pageIndex: number;
|
|
140
|
+
/** 每页数量 */
|
|
106
141
|
pageSize: number;
|
|
107
142
|
}
|
|
108
143
|
interface UpsertShuttleBusPickupPoint {
|
|
144
|
+
/** 上车点ID */
|
|
109
145
|
id?: string;
|
|
110
146
|
/** 供应商ID */
|
|
111
147
|
supplierId: string;
|
|
@@ -121,23 +157,33 @@ export declare namespace ShuttleBusSupplier {
|
|
|
121
157
|
departureCity: string;
|
|
122
158
|
/** 上车点区县 */
|
|
123
159
|
departureDistrict: string;
|
|
160
|
+
/** 状态 */
|
|
124
161
|
status: CommonStatus;
|
|
125
162
|
}
|
|
126
163
|
interface GetProductAssociatedShuttleSupplierList {
|
|
164
|
+
/** 商品ID */
|
|
127
165
|
itemId: string;
|
|
166
|
+
/** 页码,从0开始 */
|
|
128
167
|
pageIndex: number;
|
|
168
|
+
/** 每页数量 */
|
|
129
169
|
pageSize: number;
|
|
130
170
|
}
|
|
131
171
|
interface BindShuttleBus {
|
|
172
|
+
/** 商品ID */
|
|
132
173
|
itemId: string;
|
|
174
|
+
/** 绑定的班线ID列表 */
|
|
133
175
|
bindRouteIds: string[];
|
|
176
|
+
/** 解绑的班线ID列表 */
|
|
134
177
|
unbindRouteIds: string[];
|
|
135
178
|
}
|
|
136
179
|
interface EditShuttleBusProduct {
|
|
180
|
+
/** 商品ID */
|
|
137
181
|
itemId: string;
|
|
182
|
+
/** 路线ID */
|
|
138
183
|
routeId: string;
|
|
139
184
|
/** 销售价 */
|
|
140
185
|
salePrice: number;
|
|
186
|
+
/** 结算价格 */
|
|
141
187
|
settlementPrice: number;
|
|
142
188
|
/** 是否限制库存 */
|
|
143
189
|
isLimitStock: boolean;
|
|
@@ -145,31 +191,51 @@ export declare namespace ShuttleBusSupplier {
|
|
|
145
191
|
minOrderCount: number;
|
|
146
192
|
/** 售卖日期 */
|
|
147
193
|
validDates?: number[];
|
|
194
|
+
/** 上车时间 */
|
|
148
195
|
pickUpTime?: string;
|
|
196
|
+
/** 销售描述 */
|
|
149
197
|
saleDesc?: string;
|
|
150
198
|
}
|
|
151
199
|
interface IQueryShuttleBusProductRelation {
|
|
200
|
+
/** 关系ID列表 */
|
|
152
201
|
relationIdList: string[];
|
|
153
202
|
}
|
|
154
203
|
interface ICheckShuttleBusProductBeforeOrder {
|
|
204
|
+
/** 关系ID */
|
|
155
205
|
relationId: string;
|
|
206
|
+
/** 数量 */
|
|
156
207
|
quantity: number;
|
|
208
|
+
/** 场景 */
|
|
157
209
|
scene: OrderScene;
|
|
210
|
+
/** 日期 */
|
|
158
211
|
date?: number;
|
|
159
212
|
}
|
|
160
213
|
interface queryRouteByIds {
|
|
214
|
+
/** 路线ID列表 */
|
|
161
215
|
routeIds: string[];
|
|
162
216
|
}
|
|
163
217
|
interface queryChangeableRoute {
|
|
218
|
+
/** 商品ID */
|
|
164
219
|
itemId: string;
|
|
220
|
+
/** 日期 */
|
|
165
221
|
date: number;
|
|
222
|
+
/** 区县 */
|
|
166
223
|
district: string;
|
|
224
|
+
/** 城市 */
|
|
167
225
|
city: string;
|
|
226
|
+
/** 省份 */
|
|
168
227
|
province: string;
|
|
169
228
|
}
|
|
170
229
|
interface queryShuttleBusSupplierByIds {
|
|
230
|
+
/** 供应商ID列表 */
|
|
171
231
|
ids: string[];
|
|
172
232
|
}
|
|
233
|
+
interface queryShuttleBusRelationStockByRelation {
|
|
234
|
+
/** 关系ID */
|
|
235
|
+
relationId: string;
|
|
236
|
+
/** 日期列表 */
|
|
237
|
+
date?: number[];
|
|
238
|
+
}
|
|
173
239
|
}
|
|
174
240
|
namespace Response {
|
|
175
241
|
interface QueryShuttleBusSupplierList {
|
|
@@ -183,22 +249,28 @@ export declare namespace ShuttleBusSupplier {
|
|
|
183
249
|
id: string;
|
|
184
250
|
}
|
|
185
251
|
interface QueryShuttleBusRoute {
|
|
252
|
+
/** 班车路线数据 */
|
|
186
253
|
data: (DTO.ShuttleBusRouteInfo & {
|
|
187
254
|
supplierName?: string;
|
|
188
255
|
})[];
|
|
256
|
+
/** 总记录数 */
|
|
189
257
|
total: number;
|
|
190
258
|
}
|
|
191
259
|
interface QueryShuttleBusRouteWithItemId {
|
|
260
|
+
/** 班车路线数据 */
|
|
192
261
|
data: (DTO.ShuttleBusRouteInfo & {
|
|
193
262
|
isBind: boolean;
|
|
194
263
|
supplierName?: string;
|
|
195
264
|
})[];
|
|
265
|
+
/** 总记录数 */
|
|
196
266
|
total: number;
|
|
197
267
|
}
|
|
198
268
|
interface UpsertShuttleBusPickupPoint {
|
|
269
|
+
/** 上车点ID */
|
|
199
270
|
id: string;
|
|
200
271
|
}
|
|
201
272
|
type GetProductAssociatedShuttleSupplierList = {
|
|
273
|
+
/** 供应商关联商品数据 */
|
|
202
274
|
data: (DTO.ItemShuttleBusRouteRelation & {
|
|
203
275
|
departureCity: string;
|
|
204
276
|
departureAddress: string;
|
|
@@ -206,23 +278,33 @@ export declare namespace ShuttleBusSupplier {
|
|
|
206
278
|
isLimitStock: boolean;
|
|
207
279
|
validDates: number[];
|
|
208
280
|
})[];
|
|
281
|
+
/** 总记录数 */
|
|
209
282
|
total: number;
|
|
210
283
|
};
|
|
211
284
|
interface checkShuttleBusProductBeforeOrderRes {
|
|
285
|
+
/** 校验结果 */
|
|
212
286
|
checkRes: boolean;
|
|
287
|
+
/** 错误信息 */
|
|
213
288
|
errorMessage?: string;
|
|
214
289
|
}
|
|
215
290
|
type IQueryShuttleBusProductRelation = DTO.ItemShuttleBusRouteRelation[];
|
|
216
291
|
type queryRouteByIds = DTO.ShuttleBusRouteInfo[];
|
|
217
292
|
type queryChangeableRoute = {
|
|
293
|
+
/** 关系ID */
|
|
218
294
|
relationId: string;
|
|
295
|
+
/** 地址 */
|
|
219
296
|
address: string;
|
|
297
|
+
/** 供应商名称 */
|
|
220
298
|
supplierName: string;
|
|
299
|
+
/** 区县 */
|
|
221
300
|
district: string;
|
|
301
|
+
/** 城市 */
|
|
222
302
|
city: string;
|
|
303
|
+
/** 省份 */
|
|
223
304
|
province: string;
|
|
224
305
|
}[];
|
|
225
306
|
type queryShuttleBusSupplierByIds = DTO.ShuttleBusSupplier[];
|
|
307
|
+
type queryShuttleBusRelationStockByRelation = DTO.ItemShuttleBusRouteRelationStock[];
|
|
226
308
|
}
|
|
227
309
|
interface Controller {
|
|
228
310
|
/** 查询班车供应商列表 */
|
|
@@ -251,5 +333,7 @@ export declare namespace ShuttleBusSupplier {
|
|
|
251
333
|
queryChangeableRoute(request: Request.queryChangeableRoute): Promise<Response.queryChangeableRoute>;
|
|
252
334
|
/** 根据id获取班车供应商 */
|
|
253
335
|
queryShuttleBusSupplierByIds(request: Request.queryShuttleBusSupplierByIds): Promise<Response.queryShuttleBusSupplierByIds>;
|
|
336
|
+
/** 根据班车供应商关系ID查询库存 */
|
|
337
|
+
queryShuttleBusRelationStockByRelation(request: Request.queryShuttleBusRelationStockByRelation): Promise<Response.queryShuttleBusRelationStockByRelation>;
|
|
254
338
|
}
|
|
255
339
|
}
|
package/index.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ import itemManageService from './cs/modules/itemManage';
|
|
|
12
12
|
import itemCityRelationService from './cs/modules/itemCityRelation/service';
|
|
13
13
|
import facilityService from './cs/modules/facility/service';
|
|
14
14
|
import comboStockService from './cs/modules/comboStock/service';
|
|
15
|
-
|
|
15
|
+
import jobService from './cs/modules/job/service';
|
|
16
|
+
export { BizError, CSDto, itemQueryService, supplierService, shuttleBusSupplierService, serviceVenueService, itemDiscountActivityService, bizTagService, roomStockService, itemManageService, itemCityRelationService, facilityService, comboStockService, jobService, };
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.comboStockService = exports.facilityService = exports.itemCityRelationService = exports.itemManageService = exports.roomStockService = exports.bizTagService = exports.itemDiscountActivityService = exports.serviceVenueService = exports.shuttleBusSupplierService = exports.supplierService = exports.itemQueryService = exports.CSDto = exports.BizError = void 0;
|
|
29
|
+
exports.jobService = exports.comboStockService = exports.facilityService = exports.itemCityRelationService = exports.itemManageService = exports.roomStockService = exports.bizTagService = exports.itemDiscountActivityService = exports.serviceVenueService = exports.shuttleBusSupplierService = exports.supplierService = exports.itemQueryService = exports.CSDto = exports.BizError = void 0;
|
|
30
30
|
const BizError_1 = __importDefault(require("./errors/BizError"));
|
|
31
31
|
exports.BizError = BizError_1.default;
|
|
32
32
|
const CSDto = __importStar(require("./types"));
|
|
@@ -54,4 +54,6 @@ const service_8 = __importDefault(require("./cs/modules/facility/service"));
|
|
|
54
54
|
exports.facilityService = service_8.default;
|
|
55
55
|
const service_9 = __importDefault(require("./cs/modules/comboStock/service"));
|
|
56
56
|
exports.comboStockService = service_9.default;
|
|
57
|
+
const service_10 = __importDefault(require("./cs/modules/job/service"));
|
|
58
|
+
exports.jobService = service_10.default;
|
|
57
59
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAwC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAwC;AAkBtC,mBAlBK,kBAAQ,CAkBL;AAjBV,+CAAgC;AAkB9B,sBAAK;AAhBP,WAAW;AACX,uEAAqD;AAgBnD,2BAhBK,mBAAgB,CAgBL;AAflB,4EAA2D;AAgBzD,0BAhBK,iBAAe,CAgBL;AAfjB,sFAA+E;AAgB7E,oCAhBK,iBAAyB,CAgBL;AAf3B,gFAAmE;AAgBjE,8BAhBK,iBAAmB,CAgBL;AAfrB,wFAAmF;AAgBjF,sCAhBK,iBAA2B,CAgBL;AAf7B,0EAAuD;AAgBrD,wBAhBK,iBAAa,CAgBL;AAff,6EAA6D;AAgB3D,2BAhBK,iBAAgB,CAgBL;AAflB,yEAAuD;AAgBrD,4BAhBK,oBAAiB,CAgBL;AAfnB,oFAA2E;AAgBzE,kCAhBK,iBAAuB,CAgBL;AAfzB,4EAA2D;AAgBzD,0BAhBK,iBAAe,CAgBL;AAfjB,8EAA+D;AAgB7D,4BAhBK,iBAAiB,CAgBL;AAfnB,wEAAiD;AAgB/C,qBAhBK,kBAAU,CAgBL"}
|