@ningboyz/apis 1.8.47 → 1.8.49

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.8.47",
3
+ "version": "1.8.49",
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.8.47",
20
+ "@ningboyz/types": "1.8.49",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TYzpz } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IYzpzCnfgDetaild2Querys, IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectdbQuerys, IYzpzCnfgUploaditQuerys } from "./types";
3
+ import { IYzpzCnfgDetaild2Querys, IYzpzCnfgDetaildbQuerys, IYzpzCnfgSelectd2Querys, IYzpzCnfgSelectdbQuerys, IYzpzCnfgUploaditQuerys } from "./types";
4
4
 
5
5
  class CnfgRequest {
6
6
  private httpRequest: HttpRequest;
@@ -35,6 +35,15 @@ class CnfgRequest {
35
35
  return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/selectdb", querys, undefined);
36
36
  }
37
37
 
38
+ /**
39
+ * 获取预算账套列表
40
+ * @param querys
41
+ * @returns
42
+ */
43
+ selectd2(querys: IYzpzCnfgSelectd2Querys) {
44
+ return this.httpRequest.post<TYzpz.IYzpzCnfgResponse[]>("/gapi/yzpz/tcnfg/selectd2", querys, undefined);
45
+ }
46
+
38
47
  /**
39
48
  * 获取预算账套详情
40
49
  * @param querys
@@ -12,6 +12,20 @@ export class TYzpzCnfgSelectdbQuerys implements IYzpzCnfgSelectdbQuerys {
12
12
  iscommon: number = -1;
13
13
  }
14
14
 
15
+ export interface IYzpzCnfgSelectd2Querys {
16
+ sourcend: number;
17
+ sourceid: number;
18
+ unitmain: number;
19
+ iscommon: number;
20
+ }
21
+
22
+ export class TYzpzCnfgSelectd2Querys implements IYzpzCnfgSelectd2Querys {
23
+ sourcend: number = -1;
24
+ sourceid: number = -1;
25
+ unitmain: number = -1;
26
+ iscommon: number = -1;
27
+ }
28
+
15
29
  export interface IYzpzCnfgDetaildbQuerys {
16
30
  sourcend: number;
17
31
  sourceid: number;