@ningboyz/apis 1.2.178 → 1.2.179

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.2.178",
3
+ "version": "1.2.179",
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.2.178",
20
+ "@ningboyz/types": "1.2.179",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -1,6 +1,6 @@
1
1
  import { TBill, TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IBillMainChkexistQuerys, IBillMainDeletedbQuerys, IBillMainDetaildbQuerys, IBillMainInsertdbQuerys, IBillMainSelectdbQuerys, IBillMainUpdated2Querys, IBillMainUpdatedbQuerys } from "./types";
3
+ import { IBillMainChkexistQuerys, IBillMainClosedbQuerys, IBillMainDeletedbQuerys, IBillMainDetaildbQuerys, IBillMainInsertdbQuerys, IBillMainSelectdbQuerys, IBillMainUpdated2Querys, IBillMainUpdatedbQuerys } from "./types";
4
4
 
5
5
  class MainRequest {
6
6
  private httpRequest: HttpRequest;
@@ -84,6 +84,15 @@ class MainRequest {
84
84
  return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/bill/tmain/chkexist", querys, params);
85
85
  }
86
86
 
87
+ /**
88
+ * 票据关闭
89
+ * @param querys
90
+ * @returns
91
+ */
92
+ closedb(querys: IBillMainClosedbQuerys) {
93
+ return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/closedb`, querys);
94
+ }
95
+
87
96
  /**
88
97
  * 票据关闭
89
98
  * @param querys
@@ -57,6 +57,18 @@ export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys {}
57
57
  export interface IBillMainChkexistQuerys {}
58
58
  export class TBillMainChkexistQuerys implements IBillMainChkexistQuerys {}
59
59
 
60
+ export interface IBillMainClosedbQuerys {
61
+ /** 关闭类型:0:手工;1:系统 */
62
+ closeType: number;
63
+ /** 关闭状态:0:未关闭;1:已关闭 */
64
+ canClose: number;
65
+ }
66
+
67
+ export class TBillMainClosedbQuerys implements IBillMainClosedbQuerys {
68
+ closeType: number = 0;
69
+ canClose: number = 0;
70
+ }
71
+
60
72
  export interface IBillMainUpdated2Querys {
61
73
  datahide: number;
62
74
  billmain: number;