@ningboyz/apis 1.6.105 → 1.6.107
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/types.ts +10 -2
- package/packages/card/zcpd.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.107",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.107",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/card/types.ts
CHANGED
|
@@ -1011,15 +1011,23 @@ export class TCardZcpdDetaildbQuerys implements ICardZcpdDetaildbQuerys {
|
|
|
1011
1011
|
zcpdmain: number = -1;
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
+
export interface ICardZcpdSaveitdbQuerys {
|
|
1015
|
+
zcpdmain: number;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
export class TCardZcpdSaveitdbQuerys implements ICardZcpdSaveitdbQuerys {
|
|
1019
|
+
zcpdmain: number = -1;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1014
1022
|
/** ========== zcpdbill ==========*/
|
|
1015
1023
|
export interface ICardZcpdBillSelectdbQuerys {
|
|
1016
1024
|
zcpdmain: number;
|
|
1017
|
-
|
|
1025
|
+
cardmain: number;
|
|
1018
1026
|
cardexid: number;
|
|
1019
1027
|
}
|
|
1020
1028
|
|
|
1021
1029
|
export class TCardZcpdBillSelectdbQuerys implements ICardZcpdBillSelectdbQuerys {
|
|
1022
1030
|
zcpdmain: number=-1;
|
|
1023
|
-
|
|
1031
|
+
cardmain: number=-1;
|
|
1024
1032
|
cardexid: number=-1;
|
|
1025
1033
|
}
|
package/packages/card/zcpd.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TCard } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { ICardZcpdDetaildbQuerys, ICardZcpdSelectdbQuerys } from "./types";
|
|
4
|
+
import { ICardZcpdDetaildbQuerys, ICardZcpdSaveitdbQuerys, ICardZcpdSelectdbQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ZcpdRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -56,6 +56,15 @@ class ZcpdRequest {
|
|
|
56
56
|
deletedb(params: object) {
|
|
57
57
|
return this.httpRequest.post<TCard.ICardZcpdResponse[]>("/gapi/card/tzcpd/deletedb", undefined, params);
|
|
58
58
|
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 生成资产盘点明细
|
|
62
|
+
* @param querys
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
saveitdb(querys: ICardZcpdSaveitdbQuerys) {
|
|
66
|
+
return this.httpRequest.post<TCard.ICardZcpdResponse[]>("/gapi/card/tzcpd/saveitdb", querys, undefined);
|
|
67
|
+
}
|
|
59
68
|
}
|
|
60
69
|
|
|
61
70
|
export default ZcpdRequest;
|