@ningboyz/apis 1.1.6 → 1.1.7
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 +2 -2
- package/packages/card/main.ts +18 -0
- package/packages/card/type.ts +29 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
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.1.
|
|
20
|
+
"@ningboyz/types": "1.1.7",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/card/main.ts
CHANGED
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
ICardMainGet4ShiftQuerys,
|
|
13
13
|
ICardMainGet4SplitQuerys,
|
|
14
14
|
ICardMainInsertdbQuerys,
|
|
15
|
+
ICardMainRepair2dbQuerys,
|
|
16
|
+
ICardMainRepairdbQuerys,
|
|
15
17
|
ICardMainSelectd2Querys,
|
|
16
18
|
ICardMainSelectd4Querys,
|
|
17
19
|
ICardMainUpdated3Querys,
|
|
@@ -237,6 +239,22 @@ class MainRequest {
|
|
|
237
239
|
selectd4(querys: ICardMainSelectd4Querys, params: object) {
|
|
238
240
|
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/card/tmain/selectd4", querys, params);
|
|
239
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* 修复资产编码
|
|
244
|
+
* @param querys
|
|
245
|
+
* @returns
|
|
246
|
+
*/
|
|
247
|
+
repairdb(querys: ICardMainRepairdbQuerys) {
|
|
248
|
+
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/card/tmain/repairdb", querys, null);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* 修复资产条码
|
|
252
|
+
* @param querys
|
|
253
|
+
* @returns
|
|
254
|
+
*/
|
|
255
|
+
repaird2(querys: ICardMainRepair2dbQuerys) {
|
|
256
|
+
return this.httpRequest.post<TCard.ICardMainResponse[]>("/gapi/card/tmain/repaird2", querys, null);
|
|
257
|
+
}
|
|
240
258
|
}
|
|
241
259
|
|
|
242
260
|
export default MainRequest;
|
package/packages/card/type.ts
CHANGED
|
@@ -722,3 +722,32 @@ export class TCardTdataDetaildbQuerys implements ICardTdataDetaildbQuerys {
|
|
|
722
722
|
datatype: number = -1;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
+
/**
|
|
726
|
+
* 修复资产条码
|
|
727
|
+
* */
|
|
728
|
+
export interface ICardMainRepairdbQuerys {
|
|
729
|
+
/**
|
|
730
|
+
* 单位
|
|
731
|
+
* */
|
|
732
|
+
unitmain: number;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export class TCardMainRepairdbQuerys implements ICardMainRepairdbQuerys {
|
|
736
|
+
unitmain: number = -1;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* 修复资产条码
|
|
742
|
+
* */
|
|
743
|
+
export interface ICardMainRepair2dbQuerys {
|
|
744
|
+
/**
|
|
745
|
+
* 单位
|
|
746
|
+
* */
|
|
747
|
+
unitmain: number;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export class TCardMainRepair2dbQuerys implements ICardMainRepair2dbQuerys {
|
|
751
|
+
unitmain: number = -1;
|
|
752
|
+
}
|
|
753
|
+
|