@ningboyz/apis 1.0.135 → 1.0.137

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.0.135",
3
+ "version": "1.0.137",
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.0.135",
20
+ "@ningboyz/types": "1.0.137",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -1,6 +1,6 @@
1
1
  import type { TPzpt } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IPzptpzpzp6pzSelectdbQuerys, IPzptpzpzp6pzSelectdbDetails } from "./types";
3
+ import { IPzptpzpzp6pzSelectdbQuerys, IPzptpzpzp6pzUpdatedbQuerys } from "./types";
4
4
 
5
5
  class PzpzRequest {
6
6
  private httpRequest: HttpRequest;
@@ -28,8 +28,8 @@ class PzpzRequest {
28
28
  * 更新凭证配置明细
29
29
  * @param data
30
30
  */
31
- updatedb(params: object) {
32
- return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb", undefined, params);
31
+ updatedb(query: IPzptpzpzp6pzUpdatedbQuerys, params: object) {
32
+ return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb", query, params);
33
33
  }
34
34
 
35
35
  /**
@@ -39,14 +39,6 @@ class PzpzRequest {
39
39
  deletedb(params: object) {
40
40
  return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/deletedb", undefined, params);
41
41
  }
42
-
43
- /**
44
- * 获取凭证配置明细详情
45
- * @param querys
46
- */
47
- detaildb(querys: IPzptpzpzp6pzSelectdbDetails) {
48
- return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/detaildb", querys, undefined);
49
- }
50
42
  }
51
43
 
52
44
  export default PzpzRequest;
@@ -433,13 +433,13 @@ export class TPzptpzpzp6pzSelectdbQuerys implements IPzptpzpzp6pzSelectdbQuerys
433
433
  pzpzmain: number = -1;
434
434
  }
435
435
 
436
- export interface IPzptpzpzp6pzSelectdbDetails {
436
+ export interface IPzptpzpzp6pzUpdatedbQuerys {
437
437
  sourcend: number;
438
438
  sourceid: number;
439
439
  pzpzmain: number;
440
440
  }
441
441
 
442
- export class TPzptpzpzp6pzSelectdbDetails implements IPzptpzpzp6pzSelectdbDetails {
442
+ export class UPzptpzpzp6pzUpdatedbQuerys implements IPzptpzpzp6pzUpdatedbQuerys {
443
443
  sourcend: number = -1;
444
444
  sourceid: number = -1;
445
445
  pzpzmain: number = -1;
@@ -47,8 +47,8 @@ class DetailRequest {
47
47
  * 排序要素明细
48
48
  * @param params
49
49
  */
50
- queuesby(querys: IElemDetailQueuesbyQuerys) {
51
- return this.httpRequest.post<TElem.IElemDataResponse[]>(`/elem/tdata/queuesby`, querys, undefined);
50
+ queuesby(querys: IElemDetailQueuesbyQuerys, params: object) {
51
+ return this.httpRequest.post<TElem.IElemDataResponse[]>(`/elem/tdata/queuesby`, querys, params);
52
52
  }
53
53
  }
54
54