@ningboyz/apis 1.7.92 → 1.7.93

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.7.92",
3
+ "version": "1.7.93",
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.92",
20
+ "@ningboyz/types": "1.7.93",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,7 @@
1
1
  import type { TGztb, TGzzd } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
+ IGztbMainAppen2tmainQuerys,
4
5
  IGztbMainAppendtmainQuerys,
5
6
  IGztbMainDel4gzzdQuerys,
6
7
  IGztbMainDetaildbQuerys,
@@ -85,6 +86,7 @@ class MainRequest {
85
86
 
86
87
  /**
87
88
  * 新增填报
89
+ * @param querys
88
90
  * @param params
89
91
  * @returns
90
92
  */
@@ -92,26 +94,61 @@ class MainRequest {
92
94
  return this.httpRequest.post<TGztb.IGztbMainResponse[]>("/gapi/gztb/tmain/insertd2", querys, params);
93
95
  }
94
96
 
95
- // 获取填报明细
97
+ /**
98
+ * 获取填报明细
99
+ * @param querys
100
+ * @param params
101
+ * @returns
102
+ */
96
103
  get4gzzd(querys: IGztbMainGet4gzzdQuerys, params: object) {
97
104
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/get4gzzd", querys, params);
98
105
  }
99
106
 
100
- // 追加填报表
107
+ /**
108
+ * 追加填报表
109
+ * @param querys
110
+ * @param params
111
+ * @returns
112
+ */
101
113
  appendtmain(querys: IGztbMainAppendtmainQuerys, params: object) {
102
114
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/appenddb", querys, params);
103
115
  }
104
116
 
105
- // 删除工资发布
117
+ /**
118
+ * 追加填报表
119
+ * @param querys
120
+ * @param params
121
+ * @returns
122
+ */
123
+ appen2tmain(querys: IGztbMainAppen2tmainQuerys, params: object) {
124
+ return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/appendd2", querys, params);
125
+ }
126
+
127
+ /**
128
+ * 删除工资发布
129
+ * @param querys
130
+ * @param params
131
+ * @returns
132
+ */
106
133
  del4gzzd(querys: IGztbMainDel4gzzdQuerys, params: object) {
107
134
  return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gztb/tmain/del4gzzd", querys, params);
108
135
  }
109
136
 
110
- //获取期间
137
+ /**
138
+ * 获取期间
139
+ * @param querys
140
+ * @returns
141
+ */
111
142
  get4pzActivity(querys: IGztbMainGet4pzActivityQuerys) {
112
143
  return this.httpRequest.post<TGztb.ISysKjqjResponse[]>("/gapi/gztb/tmain/activity", querys, undefined);
113
144
  }
114
- //期间结转
145
+
146
+ /**
147
+ * 期间结转
148
+ * @param querys
149
+ * @param params
150
+ * @returns
151
+ */
115
152
  usesNext(querys: IGztbMainUsesNextQuerys, params: object) {
116
153
  return this.httpRequest.post<string>("/gapi/gztb/tmain/nextkjqj", querys, params);
117
154
  }
@@ -11,18 +11,22 @@ export class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
11
11
  sourceqj: number = -1;
12
12
  useronly: number = -1;
13
13
  }
14
+
14
15
  export interface IGztbMainDetaildbQuerys {
15
16
  gztbmain: number;
16
17
  }
18
+
17
19
  export class TGztbMainDetaildbQuerys implements IGztbMainDetaildbQuerys {
18
20
  gztbmain: number = -1;
19
21
  }
22
+
20
23
  export interface IGztbMainLastgzdhQuerys {
21
24
  sourcend: number;
22
25
  taskmain: number;
23
26
  sourceqj: number;
24
27
  allowusr: number;
25
28
  }
29
+
26
30
  export class TGztbMainLastgzdhQuerys implements IGztbMainLastgzdhQuerys {
27
31
  sourcend: number = -1;
28
32
  taskmain: number = -1;
@@ -34,6 +38,7 @@ export interface IGztbMainInsertdbQuerys {
34
38
  menuuuid: string;
35
39
  bodyfill: number;
36
40
  }
41
+
37
42
  export class TGztbMainInsertdbQuerys implements IGztbMainInsertdbQuerys {
38
43
  menuuuid: string = "";
39
44
  bodyfill: number = 0;
@@ -42,6 +47,7 @@ export class TGztbMainInsertdbQuerys implements IGztbMainInsertdbQuerys {
42
47
  export interface IGztbMainInsertd2Querys {
43
48
  menuuuid: string;
44
49
  }
50
+
45
51
  export class TGztbMainInsertd2Querys implements IGztbMainInsertd2Querys {
46
52
  menuuuid: string = "";
47
53
  }
@@ -49,6 +55,7 @@ export class TGztbMainInsertd2Querys implements IGztbMainInsertd2Querys {
49
55
  export interface IGztbMainGet4gzzdQuerys {
50
56
  gztbmain: number;
51
57
  }
58
+
52
59
  export class TGztbMainGet4gzzdQuerys implements IGztbMainGet4gzzdQuerys {
53
60
  gztbmain: number = -1;
54
61
  }
@@ -57,14 +64,26 @@ export interface IGztbMainAppendtmainQuerys {
57
64
  gztbmain: number;
58
65
  menuuuid: string;
59
66
  }
67
+
60
68
  export class TGztbMainAppendtmainQuerys implements IGztbMainAppendtmainQuerys {
61
69
  gztbmain: number = -1;
62
70
  menuuuid: string = "";
63
71
  }
64
72
 
73
+ export interface IGztbMainAppen2tmainQuerys {
74
+ gztbmain: number;
75
+ menuuuid: string;
76
+ }
77
+
78
+ export class TGztbMainAppen2tmainQuerys implements IGztbMainAppen2tmainQuerys {
79
+ gztbmain: number = -1;
80
+ menuuuid: string = "";
81
+ }
82
+
65
83
  export interface IGztbMainDel4gzzdQuerys {
66
84
  gztbmain: number;
67
85
  }
86
+
68
87
  export class TGztbMainDel4gzzdQuerys implements IGztbMainDel4gzzdQuerys {
69
88
  gztbmain: number = -1;
70
89
  }
@@ -78,6 +97,7 @@ export interface IGztbMainUsesNextQuerys {
78
97
  realkjqj: number;
79
98
  kjndkjqj: number;
80
99
  }
100
+
81
101
  export class TGztbMainUsesNextQuerys implements IGztbMainUsesNextQuerys {
82
102
  realkjnd: number = -1;
83
103
  realkjqj: number = -1;