@ningboyz/apis 1.4.149 → 1.4.151

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.149",
3
+ "version": "1.4.151",
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.149",
20
+ "@ningboyz/types": "1.4.151",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -17,7 +17,8 @@ import {
17
17
  IMyoaMainCheckdbQuerys,
18
18
  IMyoaMainUploadd4Querys,
19
19
  IMyoaMainUploadd5Querys,
20
- IMyoaMainDel4cardQuerys
20
+ IMyoaMainDel4cardQuerys,
21
+ IMyoaMainInsertdbQuerys
21
22
  } from "./types";
22
23
 
23
24
  class ParaRequest {
@@ -51,8 +52,8 @@ class ParaRequest {
51
52
  * @param params
52
53
  * @returns
53
54
  */
54
- insertdb(params: object) {
55
- return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", undefined, params);
55
+ insertdb(querys: IMyoaMainInsertdbQuerys, params: object) {
56
+ return this.httpRequest.post<TMyoa.IMyoaMainResponse[]>("/gapi/myoa/tmain/insertdb", querys, params);
56
57
  }
57
58
 
58
59
  /**
@@ -81,6 +81,18 @@ export class TMyoaMainScheduleQuerys implements IMyoaMainScheduleQuerys {
81
81
  }
82
82
 
83
83
  /** ========== main ========== */
84
+ export interface IMyoaMainInsertdbQuerys {
85
+ sourcend: number;
86
+ unitmain: number;
87
+ myoacode: string;
88
+ datahide: number;
89
+ }
90
+ export class TMyoaMainInsertdbQuerys implements IMyoaMainInsertdbQuerys {
91
+ sourcend: number = -1;
92
+ unitmain: number = -1;
93
+ myoacode: string = "";
94
+ datahide: number = -1;
95
+ }
84
96
  export interface IMyoaMainInsertdb2Querys {
85
97
  /** 结账年度 */
86
98
  cardkjnd: number;
@@ -189,6 +189,16 @@ class ParaRequest {
189
189
  auditdb(querys: IEmptyQuerys, params: object) {
190
190
  return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/auditdb", querys, params);
191
191
  }
192
+
193
+ /**
194
+ * 修改预算指标的流程节点
195
+ * @param querys
196
+ * @param params
197
+ * @returns
198
+ */
199
+ updated3(querys: IEmptyQuerys, params: object) {
200
+ return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/flowval1/updated3", querys, params);
201
+ }
192
202
  }
193
203
 
194
204
  export default ParaRequest;