@ningboyz/apis 1.7.93 → 1.7.94

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.
Files changed (73) hide show
  1. package/index.ts +43 -29
  2. package/package.json +2 -2
  3. package/packages/antv/type.ts~ +57 -0
  4. package/packages/axios.ts +5 -4
  5. package/packages/card/index.ts~ +47 -0
  6. package/packages/card/tzclbsort.ts~ +36 -0
  7. package/packages/card/zccz.ts~ +106 -0
  8. package/packages/expd/type.ts~ +17 -0
  9. package/packages/index.ts +5 -2
  10. package/packages/noti/type.ts~ +29 -0
  11. package/packages/ssb/index.ts +15 -0
  12. package/packages/ssb/socialInsurance.ts +45 -0
  13. package/packages/ssb/types.ts +20 -0
  14. package/packages/tyc/baseInfo.ts +45 -0
  15. package/packages/tyc/baseInfoIndustry.ts +34 -0
  16. package/packages/tyc/changeInfo.ts +45 -0
  17. package/packages/tyc/changeInfoItem.ts +34 -0
  18. package/packages/tyc/copyReg.ts +45 -0
  19. package/packages/tyc/copyRegItem.ts +34 -0
  20. package/packages/tyc/copyRegWorks.ts +45 -0
  21. package/packages/tyc/copyRegWorksItem.ts +34 -0
  22. package/packages/tyc/courtAnnouncement.ts +45 -0
  23. package/packages/tyc/courtAnnouncementItem.ts +34 -0
  24. package/packages/tyc/creditChina.ts +45 -0
  25. package/packages/tyc/creditChinaItem.ts +34 -0
  26. package/packages/tyc/dishonest.ts +45 -0
  27. package/packages/tyc/dishonestItem.ts +34 -0
  28. package/packages/tyc/equityInfo.ts +45 -0
  29. package/packages/tyc/equityInfoItem.ts +34 -0
  30. package/packages/tyc/findHistoryRongzi.ts +45 -0
  31. package/packages/tyc/findHistoryRongziItem.ts +34 -0
  32. package/packages/tyc/findJingpin.ts +45 -0
  33. package/packages/tyc/findJingpinItem.ts +34 -0
  34. package/packages/tyc/findTeamMember.ts +45 -0
  35. package/packages/tyc/findTeamMemberItem.ts +34 -0
  36. package/packages/tyc/getPledgeReg.ts +45 -0
  37. package/packages/tyc/getPledgeRegItem.ts +34 -0
  38. package/packages/tyc/holder.ts +45 -0
  39. package/packages/tyc/holderHistory.ts +45 -0
  40. package/packages/tyc/holderHistoryItem.ts +34 -0
  41. package/packages/tyc/holderItem.ts +34 -0
  42. package/packages/tyc/illegalInfo.ts +45 -0
  43. package/packages/tyc/illegalInfoItem.ts +34 -0
  44. package/packages/tyc/index.ts +183 -0
  45. package/packages/tyc/inverst.ts +44 -0
  46. package/packages/tyc/inverstItem.ts +34 -0
  47. package/packages/tyc/investHistory.ts +45 -0
  48. package/packages/tyc/investHistoryItem.ts +34 -0
  49. package/packages/tyc/judicialSale.ts +45 -0
  50. package/packages/tyc/judicialSaleItem.ts +34 -0
  51. package/packages/tyc/ktannouncement.ts +45 -0
  52. package/packages/tyc/ktannouncementItem.ts +34 -0
  53. package/packages/tyc/lawSuit.ts +45 -0
  54. package/packages/tyc/lawSuitItem.ts +34 -0
  55. package/packages/tyc/mortgageInfo.ts +45 -0
  56. package/packages/tyc/mortgageInfoBaseInfo.ts +34 -0
  57. package/packages/tyc/mortgageInfoChangeInfo.ts +34 -0
  58. package/packages/tyc/mortgageInfoPawnInfo.ts +34 -0
  59. package/packages/tyc/mortgageInfoPeopleInfo.ts +34 -0
  60. package/packages/tyc/ownTax.ts +45 -0
  61. package/packages/tyc/ownTaxItem.ts +34 -0
  62. package/packages/tyc/profile.ts +45 -0
  63. package/packages/tyc/publicInvest.ts +45 -0
  64. package/packages/tyc/publicInvestItem.ts +34 -0
  65. package/packages/tyc/publicNotice.ts +45 -0
  66. package/packages/tyc/publicNoticeItem.ts +34 -0
  67. package/packages/tyc/punishmentInfo.ts +45 -0
  68. package/packages/tyc/punishmentInfoItem.ts +34 -0
  69. package/packages/tyc/staff.ts +45 -0
  70. package/packages/tyc/staffItem.ts +34 -0
  71. package/packages/tyc/sync.ts +22 -0
  72. package/packages/tyc/types.ts +954 -0
  73. package/packages/wtui/type.ts~ +380 -0
package/index.ts CHANGED
@@ -1,43 +1,55 @@
1
+ import AntvRequest from "./packages/antv";
2
+ import { IAxiosConfig } from "./packages/axios";
3
+ import BillRequest from "./packages/bill";
4
+ import CardRequest from "./packages/card";
5
+ import CnfgRequest from "./packages/cnfg";
1
6
  import CoreRequest from "./packages/core";
2
- import FLowRequest from "./packages/flow";
3
- import WtuiRequest from "./packages/wtui";
4
- import PzptRequest from "./packages/pzpt";
7
+ import CronRequest from "./packages/cron";
8
+ import DingRequest from "./packages/ding";
9
+ import ElemRequest from "./packages/elem";
5
10
  import ExpdRequest from "./packages/expd";
11
+ import FLowRequest from "./packages/flow";
6
12
  import GamsRequest from "./packages/gams";
7
- import WldyRequest from "./packages/wldy";
13
+ import GrowRequest from "./packages/grow";
8
14
  import GzjgRequest from "./packages/gzjg";
9
- import TablRequest from "./packages/tabl";
10
- import CardRequest from "./packages/card";
11
- import CnfgRequest from "./packages/cnfg";
15
+ import GztbRequest from "./packages/gztb";
16
+ import GzzdRequest from "./packages/gzzd";
17
+ import HzcbRequest from "./packages/hzcb";
18
+ import HznjRequest from "./packages/hznj";
19
+ import HznkRequest from "./packages/hznk";
20
+ import JapzRequest from "./packages/japz";
12
21
  import LoadRequest from "./packages/load";
22
+ import MyoaRequest from "./packages/myoa";
23
+ import NotiRequest from "./packages/noti";
13
24
  import OcriRequest from "./packages/ocri";
14
- import GrowRequest from "./packages/grow";
15
- import TaskRequest from "./packages/task";
25
+ import PzptRequest from "./packages/pzpt";
26
+ import SsbRequest from "./packages/ssb";
27
+ import TablRequest from "./packages/tabl";
16
28
  import TakeRequest from "./packages/take";
17
- import GztbRequest from "./packages/gztb";
18
- import AntvRequest from "./packages/antv";
19
- import NotiRequest from "./packages/noti";
20
- import ElemRequest from "./packages/elem";
29
+ import TalkRequest from "./packages/talk";
30
+ import TaskRequest from "./packages/task";
31
+ import TycRequest from "./packages/tyc";
32
+ import VaryRequest from "./packages/vary";
33
+ import WldyRequest from "./packages/wldy";
34
+ import WlzfRequest from "./packages/wlzf";
35
+ import WtuiRequest from "./packages/wtui";
36
+ import WzpzRequest from "./packages/wzpz";
21
37
  import YzcgRequest from "./packages/yzcg";
22
- import MyoaRequest from "./packages/myoa";
23
- import CronRequest from "./packages/cron";
24
- import ZbzdRequest from "./packages/zbzd";
25
- import GzzdRequest from "./packages/gzzd";
26
- import HzcbRequest from "./packages/hzcb";
38
+ import YzcqRequest from "./packages/yzcq";
27
39
  import YzhtRequest from "./packages/yzht";
28
- import { IAxiosConfig } from "./packages/axios";
29
40
  import YzpzRequest from "./packages/yzpz";
30
- import WzpzRequest from "./packages/wzpz";
31
- import WlzfRequest from "./packages/wlzf";
32
41
  import ZbhdRequest from "./packages/zbhd";
33
- import BillRequest from "./packages/bill";
34
- import JapzRequest from "./packages/japz";
35
- import HznkRequest from "./packages/hznk";
36
- import HznjRequest from "./packages/hznj";
37
- import VaryRequest from "./packages/vary";
38
- import TalkRequest from "./packages/talk";
39
- import DingRequest from "./packages/ding";
40
- import YzcqRequest from "./packages/yzcq";
42
+ import ZbzdRequest from "./packages/zbzd";
43
+
44
+ class JavaRequest {
45
+ public static ssb: SsbRequest;
46
+ public static tyc: TycRequest;
47
+
48
+ public static createRequest(config: IAxiosConfig) {
49
+ this.ssb = new SsbRequest(config);
50
+ this.tyc = new TycRequest(config);
51
+ }
52
+ }
41
53
 
42
54
  class Request {
43
55
  public static core: CoreRequest;
@@ -125,3 +137,5 @@ class Request {
125
137
 
126
138
  export default Request;
127
139
  export * from "./packages";
140
+ export { JavaRequest };
141
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.7.93",
3
+ "version": "1.7.94",
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.7.93",
20
+ "@ningboyz/types": "1.7.94",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -0,0 +1,57 @@
1
+ /** cnfg */
2
+ export interface IAntvCnfgSelectdbQuerys {
3
+ antvmain: number;
4
+ }
5
+
6
+ export class TAntvCnfgSelectdbQuerys implements IAntvCnfgSelectdbQuerys {
7
+ antvmain: number = -1;
8
+ }
9
+
10
+ export interface IAntvCnfgDetaildbQuerys {
11
+ antvmain: number;
12
+ }
13
+
14
+ export class TAntvCnfgDetaildbQuerys implements IAntvCnfgDetaildbQuerys {
15
+ antvmain: number = -1;
16
+ }
17
+
18
+ /** main */
19
+ export interface IAntvMainDetaildbQuerys {
20
+ antvmain: number;
21
+ }
22
+
23
+ export class TAntvMainDetaildbQuerys implements IAntvMainDetaildbQuerys {
24
+ antvmain: number = -1;
25
+ }
26
+
27
+ export interface IAntvMainGet5DataQuerys {
28
+ antvname: string;
29
+ cnfgname: string;
30
+ unittypetext: string;
31
+ [key: string]: string;
32
+ }
33
+
34
+ export class TAntvMainGet5DataQuerys implements IAntvMainGet5DataQuerys {
35
+ antvname: string = "";
36
+ cnfgname: string = "";
37
+ unittypetext: string = "";
38
+ }
39
+
40
+ /** para */
41
+ export interface IAntvParaSelectdbQuerys {
42
+ antvmain: number;
43
+ antvcnfg: number;
44
+ }
45
+
46
+ export class TAntvParaSelectdbQuerys implements IAntvParaSelectdbQuerys {
47
+ antvmain: number = -1;
48
+ antvcnfg: number = -1;
49
+ }
50
+
51
+ export interface IAntvParaDetaildbQuerys {
52
+ antvmain: number;
53
+ }
54
+
55
+ export class TAntvParaDetaildbQuerys implements IAntvParaDetaildbQuerys {
56
+ antvmain: number = -1;
57
+ }
package/packages/axios.ts CHANGED
@@ -1,9 +1,9 @@
1
+ import { TResp } from "@ningboyz/types";
2
+ import { CONST_ERROR_KEY_TO_会话过期 } from "@ningboyz/types/src/const/const_error_key";
3
+ import { ISessionUserInfo, TSessionUserInfo } from "@ningboyz/types/src/store";
1
4
  import type { AxiosInstance, AxiosResponse, InternalAxiosRequestConfig } from "axios";
2
5
  import axios from "axios";
3
6
  import _ from "lodash";
4
- import { TResp } from "@ningboyz/types";
5
- import { ISessionUserInfo, TSessionUserInfo } from "@ningboyz/types/src/store";
6
- import { CONST_ERROR_KEY_TO_会话过期, CONST_ERROR_KEY_TO_路由错误 } from "@ningboyz/types/src/const/const_error_key";
7
7
 
8
8
  export interface IAxiosConfig {
9
9
  baseURL: string;
@@ -182,4 +182,5 @@ function createRequest(config: IAxiosConfig) {
182
182
  }
183
183
 
184
184
  export { createRequest };
185
- export type { HttpRequest, AxiosResponse, InternalAxiosRequestConfig };
185
+ export type { AxiosResponse, HttpRequest, InternalAxiosRequestConfig };
186
+
@@ -0,0 +1,47 @@
1
+ import { createRequest, IAxiosConfig } from "../axios";
2
+ import GblbRequest from "./gblb";
3
+ import MainRequest from "./main";
4
+ import ZcbdRequest from "./zcbd";
5
+ import ZccfRequest from "./zccf";
6
+ import ZcczRequest from "./zccz";
7
+ import ZcdbRequest from "./zcdb";
8
+ import ZclbRequest from "./zclb";
9
+ import FormRequest from "./form";
10
+ import ZczjRequest from "./zczj";
11
+ import P4pzRequest from "./p4pz";
12
+ import ZczjPropRequest from "./zczjProp";
13
+ import TzclbgblbRequest from "./tzclbgblb";
14
+
15
+ class CardRequest {
16
+ public gblb: GblbRequest;
17
+ public main: MainRequest;
18
+ public zcbd: ZcbdRequest;
19
+ public zccf: ZccfRequest;
20
+ public zccz: ZcczRequest;
21
+ public zcdb: ZcdbRequest;
22
+ public zclb: ZclbRequest;
23
+ public form: FormRequest;
24
+ public p4pz: P4pzRequest;
25
+ public zczj: ZczjRequest;
26
+ public zczjProp: ZczjPropRequest;
27
+ public tzclbgblb: TzclbgblbRequest;
28
+
29
+ constructor(config: IAxiosConfig) {
30
+ const request = createRequest(config);
31
+ this.gblb = new GblbRequest(request);
32
+ this.main = new MainRequest(request);
33
+ this.zcbd = new ZcbdRequest(request);
34
+ this.zccf = new ZccfRequest(request);
35
+ this.zccz = new ZcczRequest(request);
36
+ this.zcdb = new ZcdbRequest(request);
37
+ this.zclb = new ZclbRequest(request);
38
+ this.form = new FormRequest(request);
39
+ this.p4pz = new P4pzRequest(request);
40
+ this.zczj = new ZczjRequest(request);
41
+ this.zczjProp = new ZczjPropRequest(request);
42
+ this.tzclbgblb = new TzclbgblbRequest(request);
43
+ }
44
+ }
45
+
46
+ export default CardRequest;
47
+ export * from "./type";
@@ -0,0 +1,36 @@
1
+ import { TCard } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import {
4
+ ICardZclbsortUploaddbQuerys, ICardZclbsortSelectdbQuerys
5
+ } from "./type";
6
+ import {TParams} from "../core";
7
+
8
+ /** 资产类别关联国标类别香菇按接口 */
9
+ class TzclbsortRequest {
10
+ private httpRequest: HttpRequest;
11
+
12
+ constructor(httpRequest: HttpRequest) {
13
+ this.httpRequest = httpRequest;
14
+ }
15
+
16
+ /**
17
+ * 获取资产类别关联国标类别列表
18
+ * @param querys
19
+ * @returns
20
+ */
21
+ selectdb(querys: ICardZclbsortSelectdbQuerys) {
22
+ return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/selectdb", querys, undefined);
23
+ }
24
+
25
+ /**
26
+ * 导入资产类别关联国标类别
27
+ * @param querys
28
+ * @param params
29
+ * @returns
30
+ */
31
+ uploaddb(querys: ICardZclbsortUploaddbQuerys, params: TParams<TCard.TSyszclbgblbResponse[]>) {
32
+ return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/uploaddb", querys, params);
33
+ }
34
+ }
35
+
36
+ export default TzclbsortRequest;
@@ -0,0 +1,106 @@
1
+ import { TCard, TCore } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { ICardZcczChkinsertQuerys, ICardZcczDetaildbQuerys, ICardZcczInsertdbQuerys, ICardZcczSelectdbQuerys, ICardZcczUpdatedbQuerys } from "./type";
4
+
5
+ class ZcczRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取资产处置
13
+ * @param querys
14
+ * @returns
15
+ */
16
+ selectdb(querys: ICardZcczSelectdbQuerys) {
17
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/selectdb", querys, undefined);
18
+ }
19
+
20
+ /**
21
+ * 获取资产处置详情
22
+ * @param querys
23
+ * @returns
24
+ */
25
+ detaildb(querys: ICardZcczDetaildbQuerys) {
26
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/detaildb", querys, undefined);
27
+ }
28
+
29
+ /**
30
+ * 添加资产处置
31
+ * @param querys
32
+ * @param params
33
+ * @returns
34
+ */
35
+ insertdb(querys: ICardZcczInsertdbQuerys, params: object) {
36
+ return this.httpRequest.post<TCard.IZcczResponse[]>(`/gapi/card/tzccz/insertdb`, querys, params);
37
+ }
38
+
39
+ /**
40
+ * 编辑资产处置
41
+ * @param querys
42
+ * @param params
43
+ * @returns
44
+ */
45
+ updatedb(querys: ICardZcczUpdatedbQuerys, params: object) {
46
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/updatedb", querys, params);
47
+ }
48
+
49
+ /**
50
+ * 删除资产处置
51
+ * @param params
52
+ */
53
+ deletedb(params: object) {
54
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/deletedb", undefined, params);
55
+ }
56
+
57
+ /**
58
+ * 获取处置待办
59
+ */
60
+ todolist() {
61
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/todolist");
62
+ }
63
+
64
+ /**
65
+ * 获取处置已办
66
+ */
67
+ finished() {
68
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/finished");
69
+ }
70
+
71
+ /**
72
+ * 资产处置终审
73
+ * @param params
74
+ */
75
+ executed(params: object) {
76
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/executed", undefined, params);
77
+ }
78
+
79
+ /**
80
+ * 资产处置撤销终审
81
+ * @param params
82
+ */
83
+ canceled(params: object) {
84
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/canceled", undefined, params);
85
+ }
86
+
87
+ /**
88
+ * 资产处置撤销终审判断
89
+ * @param params
90
+ */
91
+ chkexist(params: object) {
92
+ return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/card/tzccz/chkexist", undefined, params);
93
+ }
94
+
95
+ /**
96
+ * 新增之前判断当前年度期间是否有修改业务
97
+ * @param querys
98
+ * @param params
99
+ * @returns
100
+ */
101
+ chkinsert(querys: ICardZcczChkinsertQuerys, params: object) {
102
+ return this.httpRequest.post<TCard.IZcczResponse[]>("/gapi/card/tzccz/chkinsert", querys, params);
103
+ }
104
+ }
105
+
106
+ export default ZcczRequest;
@@ -0,0 +1,17 @@
1
+ /** ========== main ========== */
2
+ export interface IExpdMainDetaildbQuerys {
3
+ expdmain: number;
4
+ }
5
+
6
+ export class TExpdMainDetaildbQuerys implements IExpdMainDetaildbQuerys {
7
+ expdmain: number = -1;
8
+ }
9
+ /** ========== main ========== */
10
+ export interface IExpdMainSelectdbQuerys {
11
+ todolock: number;
12
+ }
13
+
14
+ export class TExpdMainSelectdbQuerys implements IExpdMainSelectdbQuerys {
15
+ todolock: number = -1;
16
+ withflow: number = 1;
17
+ }
package/packages/index.ts CHANGED
@@ -22,18 +22,21 @@ export * from "./myoa";
22
22
  export * from "./noti";
23
23
  export * from "./ocri";
24
24
  export * from "./pzpt";
25
+ export * from "./ssb";
25
26
  export * from "./tabl";
26
27
  export * from "./take";
27
28
  export * from "./talk";
28
29
  export * from "./task";
30
+ export * from "./tyc";
29
31
  export * from "./vary";
30
32
  export * from "./wldy";
33
+ export * from "./wlzf";
31
34
  export * from "./wtui";
32
35
  export * from "./wzpz";
33
36
  export * from "./yzcg";
37
+ export * from "./yzcq";
34
38
  export * from "./yzht";
35
39
  export * from "./yzpz";
36
40
  export * from "./zbhd";
37
41
  export * from "./zbzd";
38
- export * from "./yzcq";
39
- export * from "./wlzf";
42
+
@@ -0,0 +1,29 @@
1
+ /** ========== main ========== */
2
+ export interface INotiMainSelectdbQuerys {}
3
+
4
+ export class TNotiMainSelectdbQuerys implements INotiMainSelectdbQuerys {}
5
+
6
+ export interface INotiMainDetaildbQuerys {
7
+ notimain: number;
8
+ }
9
+
10
+ export class TNotiMainDetaildbQuerys implements INotiMainDetaildbQuerys {
11
+ notimain: number = -1;
12
+ }
13
+
14
+
15
+ export interface INotiMainSelectdbQuerys {
16
+ sysclasc: number;
17
+ viewonly: number;
18
+ unitonly: number;
19
+ unitmain: number;
20
+ }
21
+
22
+ export class TNotiMainSelectdbQuerys implements INotiMainSelectdbQuerys {
23
+ sysclasc: number = -1;
24
+ viewonly: number = -1;
25
+ unitonly: number = -1;
26
+ unitmain: number = -1;
27
+ }
28
+
29
+
@@ -0,0 +1,15 @@
1
+ import { createRequest, IAxiosConfig } from "../axios";
2
+ import SocialInsuranceRequest from "./socialInsurance";
3
+
4
+ class SsbRequest {
5
+ public socialInsurance: SocialInsuranceRequest;
6
+
7
+ constructor(config: IAxiosConfig) {
8
+ const request = createRequest(config);
9
+ this.socialInsurance = new SocialInsuranceRequest(request);
10
+ }
11
+ }
12
+
13
+ export default SsbRequest;
14
+ export * from "./types";
15
+
@@ -0,0 +1,45 @@
1
+ import type { TSsb } from "@ningboyz/types";
2
+ import { HttpRequest } from "../axios";
3
+ import { ISocialInsuranceDeletedbQuerys, ISocialInsuranceSelectdbQuerys, ISocialInsuranceSyncdbQuerys } from "./types";
4
+
5
+ class SocialInsuranceRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 查询列表
13
+ *
14
+ * @param querys
15
+ * @param params
16
+ * @returns
17
+ */
18
+ selectdb(querys: ISocialInsuranceSelectdbQuerys, params: object) {
19
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/scczss/socialinsurance/selectdb", querys, params);
20
+ }
21
+
22
+ /**
23
+ * 删除列表
24
+ *
25
+ * @param querys
26
+ * @param params
27
+ * @returns
28
+ */
29
+ deletedb(querys: ISocialInsuranceDeletedbQuerys, params: object) {
30
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/scczss/socialinsurance/deletedb", querys, params);
31
+ }
32
+
33
+ /**
34
+ * 同步
35
+ *
36
+ * @param querys
37
+ * @param params
38
+ * @returns
39
+ */
40
+ syncdb(querys: ISocialInsuranceSyncdbQuerys, params: object) {
41
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/scczss/socialinsurance/syncdb", querys, params);
42
+ }
43
+ }
44
+
45
+ export default SocialInsuranceRequest;
@@ -0,0 +1,20 @@
1
+ /** ========== socialInsurance ==========*/
2
+ export interface ISocialInsuranceSelectdbQuerys{
3
+ }
4
+
5
+ export class TSocialInsuranceSelectdbQuerys implements ISocialInsuranceSelectdbQuerys{
6
+ }
7
+
8
+ export interface ISocialInsuranceDeletedbQuerys{
9
+ }
10
+
11
+ export class TSocialInsuranceDeletedbQuerys implements ISocialInsuranceDeletedbQuerys{
12
+ }
13
+
14
+ export interface ISocialInsuranceSyncdbQuerys{
15
+ uploader: string;
16
+ }
17
+
18
+ export class TSocialInsuranceSyncdbQuerys implements ISocialInsuranceSyncdbQuerys{
19
+ uploader: string = "";
20
+ }
@@ -0,0 +1,45 @@
1
+ import type { TTyc } from "@ningboyz/types";
2
+ import { HttpRequest } from "../axios";
3
+ import { IBaseInfoDeletedbQuerys, IBaseInfoSelectdbQuerys, IBaseInfoSyncdbQuerys } from "./types";
4
+
5
+ class BaseInfoRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 查询列表
13
+ *
14
+ * @param querys
15
+ * @param params
16
+ * @returns
17
+ */
18
+ selectdb(querys: IBaseInfoSelectdbQuerys, params: object) {
19
+ return this.httpRequest.post<TTyc.IBaseInfoResponse[]>("/scczss/baseinfo/selectdb", querys, params);
20
+ }
21
+
22
+ /**
23
+ * 删除列表
24
+ *
25
+ * @param querys
26
+ * @param params
27
+ * @returns
28
+ */
29
+ deletedb(querys: IBaseInfoDeletedbQuerys, params: object) {
30
+ return this.httpRequest.post<TTyc.IBaseInfoResponse[]>("/scczss/baseinfo/deletedb", querys, params);
31
+ }
32
+
33
+ /**
34
+ * 同步
35
+ *
36
+ * @param querys
37
+ * @param params
38
+ * @returns
39
+ */
40
+ syncdb(querys: IBaseInfoSyncdbQuerys, params: object) {
41
+ return this.httpRequest.post<TTyc.IBaseInfoResponse[]>("/scczss/baseinfo/syncdb",querys, params);
42
+ }
43
+ }
44
+
45
+ export default BaseInfoRequest;
@@ -0,0 +1,34 @@
1
+ import type { TTyc } from "@ningboyz/types";
2
+ import { HttpRequest } from "../axios";
3
+ import { IBaseInfoIndustrySelectdbQuerys, IBaseInfoIndustryDeletedbQuerys } from "./types";
4
+
5
+ class BaseInfoIndustryRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 查询列表
13
+ *
14
+ * @param querys
15
+ * @param params
16
+ * @returns
17
+ */
18
+ selectdb(querys: IBaseInfoIndustrySelectdbQuerys, params: object) {
19
+ return this.httpRequest.post<TTyc.IBaseInfoIndustryResponse[]>("/scczss/baseinfoindustry/selectdb", querys, params);
20
+ }
21
+
22
+ /**
23
+ * 删除列表
24
+ *
25
+ * @param querys
26
+ * @param params
27
+ * @returns
28
+ */
29
+ deletedb(querys: IBaseInfoIndustryDeletedbQuerys, params: object) {
30
+ return this.httpRequest.post<TTyc.IBaseInfoIndustryResponse[]>("/scczss/baseinfoindustry/deletedb", querys, params);
31
+ }
32
+ }
33
+
34
+ export default BaseInfoIndustryRequest;
@@ -0,0 +1,45 @@
1
+ import type { TTyc } from "@ningboyz/types";
2
+ import { HttpRequest } from "../axios";
3
+ import { IChangeInfoSelectdbQuerys, IChangeInfoDeletedbQuerys, IChangeInfoSyncdbQuerys } from "./types";
4
+
5
+ class ChangeInfoRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 查询列表
13
+ *
14
+ * @param querys
15
+ * @param params
16
+ * @returns
17
+ */
18
+ selectdb(querys: IChangeInfoSelectdbQuerys, params: object) {
19
+ return this.httpRequest.post<TTyc.IChangeInfoResponse[]>("/scczss/changeinfo/selectdb", querys, params);
20
+ }
21
+
22
+ /**
23
+ * 删除列表
24
+ *
25
+ * @param querys
26
+ * @param params
27
+ * @returns
28
+ */
29
+ deletedb(querys: IChangeInfoDeletedbQuerys, params: object) {
30
+ return this.httpRequest.post<TTyc.IChangeInfoResponse[]>("/scczss/changeinfo/deletedb", querys, params);
31
+ }
32
+
33
+ /**
34
+ * 同步
35
+ *
36
+ * @param querys
37
+ * @param params
38
+ * @returns
39
+ */
40
+ syncdb(querys: IChangeInfoSyncdbQuerys, params: object) {
41
+ return this.httpRequest.post<TTyc.IChangeInfoResponse[]>("/scczss/changeinfo/syncdb", querys, params);
42
+ }
43
+ }
44
+
45
+ export default ChangeInfoRequest;