@ningboyz/apis 1.4.73 → 1.4.74

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.4.73",
3
+ "version": "1.4.74",
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.4.73",
20
+ "@ningboyz/types": "1.4.74",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TFlow } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IFlowNodeCopythisQuerys, IFlowNodeDeletedbQuerys, IFlowNodeDetaildbQuerys, IFlowNodeInsertdbQuerys, IFlowNodeQueuesdbQuerys, IFlowNodeSelectdbQuerys, IFlowNodeUpdatedbQuerys } from "./types";
3
+ import { IFlowNodeCopythisQuerys, IFlowNodeDeletedbQuerys, IFlowNodeDetaildbQuerys, IFlowNodeInsertdbQuerys, IFlowNodeQueuesdbQuerys, IFlowNodeSelectdb2Querys, IFlowNodeSelectdbQuerys, IFlowNodeUpdatedbQuerys } from "./types";
4
4
 
5
5
  class NodeRequest {
6
6
  private httpRequest: HttpRequest;
@@ -75,6 +75,15 @@ class NodeRequest {
75
75
  copythis(querys: IFlowNodeCopythisQuerys, params: object) {
76
76
  return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/copythis", querys, params);
77
77
  }
78
+
79
+ /**
80
+ * 获取相关节点
81
+ * @param querys
82
+ * @returns
83
+ */
84
+ selectdb2(querys: IFlowNodeSelectdb2Querys) {
85
+ return this.httpRequest.post<TFlow.IFlowNodeResponse[]>("/flow/tnode/selectdb2", querys, undefined);
86
+ }
78
87
  }
79
88
 
80
89
  export default NodeRequest;
@@ -224,3 +224,14 @@ export class TFlowUserNotiUpdatedbQuerys implements IFLowUserNotiUpdatedbQuerys
224
224
  yesiknow: number = -1;
225
225
  useruuid: string = "";
226
226
  }
227
+
228
+
229
+ export interface IFlowNodeSelectdb2Querys {
230
+ flowmain: number;
231
+ flownode: number;
232
+ }
233
+
234
+ export class TFlowNodeSelectdb2Querys implements IFlowNodeSelectdb2Querys {
235
+ flowmain: number = -1;
236
+ flownode: number = -1;
237
+ }