@ningboyz/apis 1.6.100 → 1.6.102

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.6.100",
3
+ "version": "1.6.102",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.6.100",
20
+ "@ningboyz/types": "1.6.102",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -264,6 +264,26 @@ export class TMyoaMainGetzydjQuerys implements IMyoaMainGetzydjQuerys {
264
264
  flownode: number = -1;
265
265
  }
266
266
 
267
+ export interface IMyoaMainGetzydj2Querys {
268
+ myoatype: number;
269
+ /** 总车辆数 人数大于6时传23座车总数 小于等于6时传其他车辆总数 */
270
+ carsize: number;
271
+ /** 开始时间 */
272
+ startout: number;
273
+ /** 结束时间 */
274
+ endedout: number;
275
+ /** 部门负责人节点ID */
276
+ flownode: number;
277
+ }
278
+
279
+ export class TMyoaMainGetzydj2Querys implements IMyoaMainGetzydj2Querys {
280
+ myoatype: number = -1;
281
+ carsize: number = -1;
282
+ startout: number = -1;
283
+ endedout: number = -1;
284
+ flownode: number = -1;
285
+ }
286
+
267
287
  export interface IMyoaMainSet4pathQuerys {
268
288
  /** 单据主键 */
269
289
  myoamain: number;
@@ -11,6 +11,7 @@ import {
11
11
  IMyoaWithCardTodolistQuerys,
12
12
  IMyoaWithCardTodosizeQuerys,
13
13
  TMyoaMainChkinsertQuerys,
14
+ IMyoaMainGetzydj2Querys,
14
15
  TMyoaMainSelectd2Querys
15
16
  } from "./types";
16
17
 
@@ -158,6 +159,16 @@ class WithCardRequest {
158
159
  getzydj(querys: IMyoaMainGetzydjQuerys, params: object) {
159
160
  return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/getzydj", querys, params);
160
161
  }
162
+
163
+ /**
164
+ * 查询已占用车辆
165
+ * @param querys
166
+ * @param params
167
+ * @returns
168
+ */
169
+ getzydj2(querys: IMyoaMainGetzydj2Querys, params: object) {
170
+ return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/getzydj2", querys, params);
171
+ }
161
172
  }
162
173
 
163
174
  export default WithCardRequest;