@ningboyz/apis 1.2.93 → 1.2.95

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.93",
3
+ "version": "1.2.95",
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.93",
20
+ "@ningboyz/types": "1.2.95",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -0,0 +1,76 @@
1
+ import { TCard } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IEmptyQuerys } from "../type";
4
+ import { ICardFwczDetaildbQuerys, ICardFwczSelectdbQuerys } from "./types";
5
+
6
+ class FwczRequest {
7
+ private httpRequest: HttpRequest;
8
+ constructor(httpRequest: HttpRequest) {
9
+ this.httpRequest = httpRequest;
10
+ }
11
+
12
+ /**
13
+ * 获取房屋出租列表
14
+ * @param querys
15
+ * @returns
16
+ */
17
+ selectdb(querys: ICardFwczSelectdbQuerys) {
18
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/selectdb", querys, undefined);
19
+ }
20
+
21
+ /**
22
+ * 获取房屋出租详情
23
+ * @param querys
24
+ * @returns
25
+ */
26
+ detaildb(querys: ICardFwczDetaildbQuerys) {
27
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/detaildb", querys, undefined);
28
+ }
29
+
30
+ /**
31
+ * 新增房屋出租
32
+ * @param querys
33
+ * @param params
34
+ * @returns
35
+ */
36
+ insertdb(querys: IEmptyQuerys, params: object) {
37
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>(`/gapi/card/tfwcz/insertdb`, querys, params);
38
+ }
39
+
40
+ /**
41
+ * 修改房屋出租
42
+ * @param querys
43
+ * @param params
44
+ * @returns
45
+ */
46
+ updatedb(querys: IEmptyQuerys, params: object) {
47
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/updatedb", querys, params);
48
+ }
49
+
50
+ /**
51
+ * 删除房屋出租
52
+ * @param params
53
+ * @returns
54
+ */
55
+ deletedb(params: object) {
56
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/deletedb", undefined, params);
57
+ }
58
+
59
+ /**
60
+ * 获取出租待办
61
+ * @returns
62
+ */
63
+ todolist() {
64
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/todolist");
65
+ }
66
+
67
+ /**
68
+ * 获取出租已办
69
+ * @returns
70
+ */
71
+ finished() {
72
+ return this.httpRequest.post<TCard.ICardFwczResponse[]>("/gapi/card/tfwcz/finished");
73
+ }
74
+ }
75
+
76
+ export default FwczRequest;
@@ -837,3 +837,26 @@ export interface ICardHyhbDetaildbQuerys {
837
837
  export class TCardHyhbDetaildbQuerys implements ICardHyhbDetaildbQuerys {
838
838
  hyhbmain: number = -1;
839
839
  }
840
+
841
+ /** ========== fwcz ==========*/
842
+ export interface ICardFwczSelectdbQuerys {
843
+ sourcend: number;
844
+ withflow: number;
845
+ viewonly: number;
846
+ useronly: number;
847
+ }
848
+
849
+ export class TCardFwczSelectdbQuerys implements ICardFwczSelectdbQuerys {
850
+ sourcend: number = -1;
851
+ withflow: number = -1;
852
+ viewonly: number = -1;
853
+ useronly: number = -1;
854
+ }
855
+
856
+ export interface ICardFwczDetaildbQuerys {
857
+ fwczmain: number;
858
+ }
859
+
860
+ export class TCardFwczDetaildbQuerys implements ICardFwczDetaildbQuerys {
861
+ fwczmain: number = -1;
862
+ }
@@ -54,6 +54,7 @@ class ZcbdRequest {
54
54
  deletedb(params: object) {
55
55
  return this.httpRequest.post<TCard.IZcbdResponse[]>("/gapi/card/tzcbd/deletedb", undefined, params);
56
56
  }
57
+
57
58
  /**
58
59
  * 删除资产变动关联的卡片
59
60
  * @param params
@@ -62,6 +63,7 @@ class ZcbdRequest {
62
63
  deleteCard(params: object) {
63
64
  return this.httpRequest.post<TCard.IZcbdResponse[]>("/gapi/card/tzcbd/tbill/deletedb", undefined, params);
64
65
  }
66
+
65
67
  /**
66
68
  * 获取变动待办
67
69
  * @returns
@@ -2,6 +2,10 @@
2
2
  export interface IHznkDataSelectdbQuerys {
3
3
  sourcend: number;
4
4
  withflow: number;
5
+ /**const_hznk
6
+ * CONST_HZNK_DATA_DATA_TYPE_TO_个人荣誉 1001
7
+ * CONST_HZNK_DATA_DATA_TYPE_TO_人才称号 1002
8
+ * */
5
9
  datatype: number;
6
10
  }
7
11