@ningboyz/apis 1.7.113 → 1.7.115

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/index.ts CHANGED
@@ -40,6 +40,7 @@ import YzhtRequest from "./packages/yzht";
40
40
  import YzpzRequest from "./packages/yzpz";
41
41
  import ZbhdRequest from "./packages/zbhd";
42
42
  import ZbzdRequest from "./packages/zbzd";
43
+ import NoteRequest from "./packages/note";
43
44
 
44
45
  class JavaRequest {
45
46
  public static ssb: SsbRequest;
@@ -91,6 +92,7 @@ class Request {
91
92
  public static talk: TalkRequest;
92
93
  public static ding: DingRequest;
93
94
  public static yzcq: YzcqRequest;
95
+ public static note: NoteRequest;
94
96
 
95
97
  public static createRequest(config: IAxiosConfig) {
96
98
  this.core = new CoreRequest(config);
@@ -132,6 +134,7 @@ class Request {
132
134
  this.talk = new TalkRequest(config);
133
135
  this.ding = new DingRequest(config);
134
136
  this.yzcq = new YzcqRequest(config);
137
+ this.note = new NoteRequest(config);
135
138
  }
136
139
  }
137
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.7.113",
3
+ "version": "1.7.115",
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.7.113",
20
+ "@ningboyz/types": "1.7.115",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,27 +1,28 @@
1
1
  import { TCore, TGzjg, TGzzd } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
+ IGzzdMainDel4userQuerys,
4
5
  IGzzdMainDetaildbQuerys,
5
6
  IGzzdMainFinishedQuerys,
6
7
  IGzzdMainGet2formulaQuerys,
7
8
  IGzzdMainGet4billQuerys,
8
9
  IGzzdMainGet4BillWithZwlxQuerys,
10
+ IGzzdMainGet4gzjgByAcnoQuerys,
9
11
  IGzzdMainGet4gzlmQuerys,
10
12
  IGzzdMainGet4gzzdQuerys,
13
+ IGzzdMainGet4pzActivityQuerys,
14
+ IGzzdMainGet4userQuerys,
11
15
  IGzzdMainGet5BillWithZwlxQuerys,
16
+ IGzzdMainGet5gzlmByAcnoQuerys,
12
17
  IGzzdMainSelectdbQuerys,
18
+ IGzzdMainSet4userQuerys,
19
+ IGzzdMainStopUpdateDbAcnoQuerys,
20
+ IGzzdMainUpdatedbAcnoQuerys,
13
21
  IGzzdMainUpdatedbQuerys,
22
+ IGzzdMainUpdatedbWithScczQuerys,
14
23
  IGzzdMainUpdatedbWithZhjyQuerys,
15
24
  IGzzdMainWithgzjgQuerys,
16
- TGzzdMainDetaild2Querys,
17
- IGzzdMainSet4userQuerys,
18
- IGzzdMainDel4userQuerys,
19
- IGzzdMainGet4userQuerys,
20
- IGzzdMainUpdatedbAcnoQuerys,
21
- IGzzdMainStopUpdateDbAcnoQuerys,
22
- IGzzdMainGet4pzActivityQuerys,
23
- IGzzdMainGet4gzjgByAcnoQuerys,
24
- IGzzdMainGet5gzlmByAcnoQuerys
25
+ TGzzdMainDetaild2Querys
25
26
  } from "./types";
26
27
 
27
28
  class ParaRequest {
@@ -197,6 +198,15 @@ class ParaRequest {
197
198
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/updatedb/withzhjy", querys, params);
198
199
  }
199
200
 
201
+ /**
202
+ * 保存工资明细
203
+ * @param querys
204
+ * @returns {gzzdmain: {}, listgzlm: {}}
205
+ */
206
+ updatedbWithSccz(querys: IGzzdMainUpdatedbWithScczQuerys, params: object) {
207
+ return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/updatedb/withsccz", querys, params);
208
+ }
209
+
200
210
  /**
201
211
  * 更新工资标准明细
202
212
  * @param querys
@@ -145,6 +145,14 @@ export class TGzzdMainUpdatedbWithZhjyQuerys implements IGzzdMainUpdatedbWithZhj
145
145
  reloadit: number = -1;
146
146
  }
147
147
 
148
+ export interface IGzzdMainUpdatedbWithScczQuerys {
149
+ reloadit: number;
150
+ }
151
+
152
+ export class TGzzdMainUpdatedbWithScczQuerys implements IGzzdMainUpdatedbWithScczQuerys {
153
+ reloadit: number = -1;
154
+ }
155
+
148
156
  export interface IGzzdMainUpdatedbAcnoQuerys {
149
157
  usermain: number;
150
158
  gzzdstat: number;
@@ -1,15 +1,13 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
2
  import MainRequest from "./main";
3
3
 
4
- class LoadRequest {
4
+ class MyoaRequest {
5
5
  public main: MainRequest;
6
-
7
6
  constructor(config: IAxiosConfig) {
8
7
  const request = createRequest(config);
9
8
  this.main = new MainRequest(request);
10
9
  }
11
10
  }
12
11
 
13
- export default MainRequest;
12
+ export default MyoaRequest;
14
13
  export * from "./types";
15
-
@@ -1,4 +1,4 @@
1
- import type { TLoad } from "@ningboyz/types";
1
+ import type { TNote } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import { INoteMainDetaildbQuerys, INoteMainSelectdbQuerys } from "./types";
4
4
 
@@ -15,7 +15,7 @@ class MainRequest {
15
15
  * @returns
16
16
  */
17
17
  selectdb(querys: INoteMainSelectdbQuerys, params: object) {
18
- return this.httpRequest.post<TLoad.ILoadMainResponse[]>("/gapi/note/tmain/selectdb", querys, params);
18
+ return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/selectdb", querys, params);
19
19
  }
20
20
 
21
21
  /**
@@ -24,7 +24,7 @@ class MainRequest {
24
24
  * @returns
25
25
  */
26
26
  insertdb(params: object) {
27
- return this.httpRequest.post<TLoad.ILoadDataResponse[]>("/gapi/note/tmain/insertdb", undefined, params);
27
+ return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/insertdb", undefined, params);
28
28
  }
29
29
 
30
30
  /**
@@ -33,7 +33,7 @@ class MainRequest {
33
33
  * @returns
34
34
  */
35
35
  updatedb(params: object) {
36
- return this.httpRequest.post<TLoad.ILoadDataResponse[]>("/gapi/note/tmain/updatedb", undefined, params);
36
+ return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/updatedb", undefined, params);
37
37
  }
38
38
 
39
39
  /**
@@ -42,7 +42,7 @@ class MainRequest {
42
42
  * @returns
43
43
  */
44
44
  detaildb(querys: INoteMainDetaildbQuerys) {
45
- return this.httpRequest.post<TLoad.ILoadMainResponse[]>("/gapi/note/tmain/detaildb", querys);
45
+ return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/detaildb", querys);
46
46
  }
47
47
 
48
48
  /**
@@ -51,7 +51,7 @@ class MainRequest {
51
51
  * @returns
52
52
  */
53
53
  deletedb(params: object) {
54
- return this.httpRequest.post<TLoad.ILoadMainResponse[]>("/gapi/note/tmain/deletedb", undefined, params);
54
+ return this.httpRequest.post<TNote.INoteMainResponse[]>("/gapi/note/tmain/deletedb", undefined, params);
55
55
  }
56
56
  }
57
57