@ningboyz/apis 1.2.46 → 1.2.48
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 +2 -2
- package/packages/core/index.ts +15 -11
- package/packages/core/skdw.ts +30 -0
- package/packages/japz/cnfg.ts +7 -7
- package/packages/japz/index.ts +15 -0
- package/packages/japz/item.ts +7 -7
- package/packages/japz/k0km.ts +7 -7
- package/packages/japz/k7km.ts +7 -7
- package/packages/japz/k8km.ts +7 -7
- package/packages/japz/k9km.ts +7 -7
- package/packages/japz/types.ts +143 -14
- package/packages/japz/cnfgUnit.ts +0 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.48",
|
|
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.
|
|
20
|
+
"@ningboyz/types": "1.2.48",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/core/index.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
|
-
import
|
|
2
|
+
import DddwRequest from "./dddw";
|
|
3
|
+
import DeptRequest from "./dept";
|
|
3
4
|
import DictRequest from "./dict";
|
|
5
|
+
import LaidRequest from "./laid";
|
|
6
|
+
import LocalRequest from "./local";
|
|
7
|
+
import MastRequest from "./mast";
|
|
4
8
|
import PartRequest from "./part";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import SysmenuRequest from "./sysmenu";
|
|
8
|
-
import UserRequest from "./user";
|
|
9
|
+
import PathRequest from "./path";
|
|
10
|
+
import SkdwRequest from "./skdw";
|
|
9
11
|
import SysbilltypeRequest from "./sysbilltype";
|
|
12
|
+
import SysClasRequest from "./sysclas";
|
|
10
13
|
import SysenvrRequest from "./sysenvr";
|
|
11
|
-
import DeptRequest from "./dept";
|
|
12
|
-
import PathRequest from "./path";
|
|
13
14
|
import SyskjndRequest from "./syskjnd";
|
|
14
|
-
import
|
|
15
|
+
import SysmenuRequest from "./sysmenu";
|
|
15
16
|
import SysTravelRequest from "./systravel";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
17
|
+
import TypeRequest from "./type";
|
|
18
|
+
import UnitRequest from "./unit";
|
|
19
|
+
import UserRequest from "./user";
|
|
19
20
|
|
|
20
21
|
class CoreRequest {
|
|
21
22
|
public type: TypeRequest;
|
|
@@ -35,6 +36,7 @@ class CoreRequest {
|
|
|
35
36
|
public local: LocalRequest;
|
|
36
37
|
public mast: MastRequest;
|
|
37
38
|
public dddw: DddwRequest;
|
|
39
|
+
public skdw: SkdwRequest;
|
|
38
40
|
|
|
39
41
|
constructor(config: IAxiosConfig) {
|
|
40
42
|
const request = createRequest(config);
|
|
@@ -55,8 +57,10 @@ class CoreRequest {
|
|
|
55
57
|
this.local = new LocalRequest();
|
|
56
58
|
this.mast = new MastRequest(request);
|
|
57
59
|
this.dddw = new DddwRequest(request);
|
|
60
|
+
this.skdw = new SkdwRequest(request);
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
|
|
61
64
|
export default CoreRequest;
|
|
62
65
|
export * from "./types";
|
|
66
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TCore } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IEmptyQuerys } from "../type";
|
|
4
|
+
|
|
5
|
+
class SkdwRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 新增银行账号
|
|
13
|
+
* @param params acnofrom:{} userfrom:{}
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
insertdb(querys: IEmptyQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 更新银行账号
|
|
22
|
+
* @param params acnofrom:{} userfrom:{}
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
updatedb(querys: IEmptyQuerys, params: object) {
|
|
26
|
+
return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/updatedb", querys, params);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export default SkdwRequest;
|
package/packages/japz/cnfg.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzCnfgDetailQuerys, IJapzCnfgSelectdbQuerys } from "./types";
|
|
2
|
+
import { IJapzCnfgDeletedbQuerys, IJapzCnfgDetailQuerys, IJapzCnfgInsertdbQuerys, IJapzCnfgSelectdbQuerys, IJapzCnfgUpdatedbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class CnfgRequest {
|
|
@@ -12,20 +12,20 @@ class CnfgRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/insertdb",
|
|
15
|
+
insertdb(querys: IJapzCnfgInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/updatedb",
|
|
19
|
+
updatedb(querys: IJapzCnfgUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzCnfgDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/deletedb",
|
|
27
|
+
deletedb(querys: IJapzCnfgDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/tcnfg/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/index.ts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
2
|
import CnfgRequest from "./cnfg";
|
|
3
|
+
import ItemRequest from "./item";
|
|
4
|
+
import K0kmRequest from "./k0km";
|
|
5
|
+
import K7kmRequest from "./k7km";
|
|
6
|
+
import K8kmRequest from "./k8km";
|
|
7
|
+
import K9kmRequest from "./k9km";
|
|
3
8
|
|
|
4
9
|
class JapzRequest {
|
|
5
10
|
public cnfg: CnfgRequest;
|
|
11
|
+
public item: ItemRequest;
|
|
12
|
+
public k0km: K0kmRequest;
|
|
13
|
+
public k7km: K7kmRequest;
|
|
14
|
+
public k8km: K8kmRequest;
|
|
15
|
+
public k9km: K9kmRequest;
|
|
6
16
|
|
|
7
17
|
constructor(config: IAxiosConfig) {
|
|
8
18
|
const request = createRequest(config);
|
|
9
19
|
this.cnfg = new CnfgRequest(request);
|
|
20
|
+
this.item = new ItemRequest(request);
|
|
21
|
+
this.k0km = new K0kmRequest(request);
|
|
22
|
+
this.k7km = new K7kmRequest(request);
|
|
23
|
+
this.k8km = new K8kmRequest(request);
|
|
24
|
+
this.k9km = new K9kmRequest(request);
|
|
10
25
|
}
|
|
11
26
|
}
|
|
12
27
|
|
package/packages/japz/item.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
2
|
import { TJapz } from "@ningboyz/types";
|
|
3
|
-
import { IJapzItemDetailQuerys, IJapzItemSelectdbQuerys } from "./types";
|
|
3
|
+
import { IJapzItemDeletedbQuerys, IJapzItemDetailQuerys, IJapzItemInsertdbQuerys, IJapzItemSelectdbQuerys, IJapzItemUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class ItemRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -12,20 +12,20 @@ class ItemRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/insertdb",
|
|
15
|
+
insertdb(querys: IJapzItemInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/updatedb",
|
|
19
|
+
updatedb(querys: IJapzItemUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzItemDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/deletedb",
|
|
27
|
+
deletedb(querys: IJapzItemDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzCnfgResponse[]>("/gapi/japz/titem/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/k0km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK0kmDetailQuerys, IJapzK0kmSelectdbQuerys } from "./types";
|
|
2
|
+
import { IJapzK0kmDeletedbQuerys, IJapzK0kmDetailQuerys, IJapzK0kmInsertdbQuerys, IJapzK0kmSelectdbQuerys, IJapzK0kmUpdatedbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K0kmRequest {
|
|
@@ -12,20 +12,20 @@ class K0kmRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/insertdb",
|
|
15
|
+
insertdb(querys: IJapzK0kmInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/updatedb",
|
|
19
|
+
updatedb(querys: IJapzK0kmUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzK0kmDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/deletedb",
|
|
27
|
+
deletedb(querys: IJapzK0kmDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzK0kmResponse[]>("/gapi/japz/tk0km/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/k7km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK7kmDetailQuerys, IJapzK7kmSelectdbQuerys } from "./types";
|
|
2
|
+
import { IJapzK7kmDeletedbQuerys, IJapzK7kmDetailQuerys, IJapzK7kmInsertdbQuerys, IJapzK7kmSelectdbQuerys, IJapzK7kmUpdatedbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K7kmRequest {
|
|
@@ -12,20 +12,20 @@ class K7kmRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/insertdb",
|
|
15
|
+
insertdb(querys: IJapzK7kmInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/updatedb",
|
|
19
|
+
updatedb(querys: IJapzK7kmUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzK7kmDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/deletedb",
|
|
27
|
+
deletedb(querys: IJapzK7kmDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzK7kmResponse[]>("/gapi/japz/tk7km/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/k8km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK8kmDetailQuerys, IJapzK8kmSelectdbQuerys } from "./types";
|
|
2
|
+
import { IJapzK8kmDeletedbQuerys, IJapzK8kmDetailQuerys, IJapzK8kmInsertdbQuerys, IJapzK8kmSelectdbQuerys, IJapzK8kmUpdatedbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K8kmRequest {
|
|
@@ -12,20 +12,20 @@ class K8kmRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/insertdb",
|
|
15
|
+
insertdb(querys: IJapzK8kmInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/updatedb",
|
|
19
|
+
updatedb(querys: IJapzK8kmUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzK8kmDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/deletedb",
|
|
27
|
+
deletedb(querys: IJapzK8kmDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzK8kmResponse[]>("/gapi/japz/tk8km/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/k9km.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzK9kmDetailQuerys, IJapzK9kmSelectdbQuerys } from "./types";
|
|
2
|
+
import { IJapzK9kmDeletedbQuerys, IJapzK9kmDetailQuerys, IJapzK9kmInsertdbQuerys, IJapzK9kmSelectdbQuerys, IJapzK9kmUpdatedbQuerys } from "./types";
|
|
3
3
|
import { TJapz } from "@ningboyz/types";
|
|
4
4
|
|
|
5
5
|
class K9kmRequest {
|
|
@@ -12,20 +12,20 @@ class K9kmRequest {
|
|
|
12
12
|
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/selectdb", querys, undefined);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/insertdb",
|
|
15
|
+
insertdb(querys: IJapzK9kmInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/insertdb", querys, params);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/updatedb",
|
|
19
|
+
updatedb(querys: IJapzK9kmUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/updatedb", querys, params);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
detaildb(querys: IJapzK9kmDetailQuerys) {
|
|
24
24
|
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/detaildb", querys, undefined);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/deletedb",
|
|
27
|
+
deletedb(querys: IJapzK9kmDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<TJapz.IJapzK9kmResponse[]>("/gapi/japz/tk9km/deletedb", querys, params);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
package/packages/japz/types.ts
CHANGED
|
@@ -1,27 +1,156 @@
|
|
|
1
|
-
|
|
1
|
+
//#Cnfg
|
|
2
|
+
export interface IJapzCnfgSelectdbQuerys {
|
|
3
|
+
sourcend: number;
|
|
4
|
+
}
|
|
2
5
|
|
|
3
|
-
export interface
|
|
6
|
+
export interface IJapzCnfgInsertdbQuerys {
|
|
7
|
+
sourcend: number;
|
|
8
|
+
}
|
|
4
9
|
|
|
5
|
-
export interface
|
|
10
|
+
export interface IJapzCnfgUpdatedbQuerys {
|
|
11
|
+
sourcend: number;
|
|
12
|
+
}
|
|
6
13
|
|
|
7
|
-
export interface
|
|
14
|
+
export interface IJapzCnfgDetailQuerys {
|
|
15
|
+
sourcend: number;
|
|
16
|
+
sourceid: number;
|
|
17
|
+
}
|
|
8
18
|
|
|
9
|
-
export interface
|
|
19
|
+
export interface IJapzCnfgDeletedbQuerys {
|
|
20
|
+
sourcend: number;
|
|
21
|
+
}
|
|
10
22
|
|
|
11
|
-
|
|
23
|
+
//#Item
|
|
24
|
+
export interface IJapzItemSelectdbQuerys {
|
|
25
|
+
sourcend: number;
|
|
26
|
+
sourceid: number;
|
|
27
|
+
}
|
|
12
28
|
|
|
13
|
-
export interface
|
|
29
|
+
export interface IJapzItemDetailQuerys {
|
|
30
|
+
sourcend: number;
|
|
31
|
+
sourceid: number;
|
|
32
|
+
itemmain: number;
|
|
33
|
+
}
|
|
14
34
|
|
|
15
|
-
export interface
|
|
35
|
+
export interface IJapzItemInsertdbQuerys {
|
|
36
|
+
sourcend: number;
|
|
37
|
+
sourceid: number;
|
|
38
|
+
}
|
|
16
39
|
|
|
17
|
-
export interface
|
|
40
|
+
export interface IJapzItemUpdatedbQuerys {
|
|
41
|
+
sourcend: number;
|
|
42
|
+
sourceid: number;
|
|
43
|
+
}
|
|
18
44
|
|
|
19
|
-
export interface
|
|
45
|
+
export interface IJapzItemDeletedbQuerys {
|
|
46
|
+
sourcend: number;
|
|
47
|
+
sourceid: number;
|
|
48
|
+
}
|
|
20
49
|
|
|
21
|
-
|
|
50
|
+
//#K0km
|
|
51
|
+
export interface IJapzK0kmSelectdbQuerys {
|
|
52
|
+
sourcend: number;
|
|
53
|
+
sourceid: number;
|
|
54
|
+
}
|
|
22
55
|
|
|
23
|
-
export interface
|
|
56
|
+
export interface IJapzK0kmDetailQuerys {
|
|
57
|
+
sourcend: number;
|
|
58
|
+
sourceid: number;
|
|
59
|
+
k0kmkmid: number;
|
|
60
|
+
}
|
|
24
61
|
|
|
25
|
-
export interface
|
|
62
|
+
export interface IJapzK0kmInsertdbQuerys {
|
|
63
|
+
sourcend: number;
|
|
64
|
+
sourceid: number;
|
|
65
|
+
}
|
|
26
66
|
|
|
27
|
-
export interface
|
|
67
|
+
export interface IJapzK0kmUpdatedbQuerys {
|
|
68
|
+
sourcend: number;
|
|
69
|
+
sourceid: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface IJapzK0kmDeletedbQuerys {
|
|
73
|
+
sourcend: number;
|
|
74
|
+
sourceid: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//#K7km
|
|
78
|
+
export interface IJapzK7kmSelectdbQuerys {
|
|
79
|
+
sourcend: number;
|
|
80
|
+
sourceid: number;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface IJapzK7kmDetailQuerys {
|
|
84
|
+
sourcend: number;
|
|
85
|
+
sourceid: number;
|
|
86
|
+
k7kmkmid: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface IJapzK7kmInsertdbQuerys {
|
|
90
|
+
sourcend: number;
|
|
91
|
+
sourceid: number;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface IJapzK7kmUpdatedbQuerys {
|
|
95
|
+
sourcend: number;
|
|
96
|
+
sourceid: number;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface IJapzK7kmDeletedbQuerys {
|
|
100
|
+
sourcend: number;
|
|
101
|
+
sourceid: number;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
//#K8km
|
|
105
|
+
export interface IJapzK8kmSelectdbQuerys {
|
|
106
|
+
sourcend: number;
|
|
107
|
+
sourceid: number;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface IJapzK8kmDetailQuerys {
|
|
111
|
+
sourcend: number;
|
|
112
|
+
sourceid: number;
|
|
113
|
+
k8kmkmid: number;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface IJapzK8kmInsertdbQuerys {
|
|
117
|
+
sourcend: number;
|
|
118
|
+
sourceid: number;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface IJapzK8kmUpdatedbQuerys {
|
|
122
|
+
sourcend: number;
|
|
123
|
+
sourceid: number;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface IJapzK8kmDeletedbQuerys {
|
|
127
|
+
sourcend: number;
|
|
128
|
+
sourceid: number;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
//#K9km
|
|
132
|
+
export interface IJapzK9kmSelectdbQuerys {
|
|
133
|
+
sourcend: number;
|
|
134
|
+
sourceid: number;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface IJapzK9kmDetailQuerys {
|
|
138
|
+
sourcend: number;
|
|
139
|
+
sourceid: number;
|
|
140
|
+
k9kmkmid: number;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface IJapzK9kmInsertdbQuerys {
|
|
144
|
+
sourcend: number;
|
|
145
|
+
sourceid: number;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface IJapzK9kmUpdatedbQuerys {
|
|
149
|
+
sourcend: number;
|
|
150
|
+
sourceid: number;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface IJapzK9kmDeletedbQuerys {
|
|
154
|
+
sourcend: number;
|
|
155
|
+
sourceid: number;
|
|
156
|
+
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { HttpRequest } from "../axios";
|
|
2
|
-
import { IJapzCnfgUnitDetailQuerys, IJapzCnfgUnitSelectdbQuerys } from "./types";
|
|
3
|
-
import { TJapz } from "@ningboyz/types";
|
|
4
|
-
|
|
5
|
-
class CnfgUnitRequest {
|
|
6
|
-
private httpRequest: HttpRequest;
|
|
7
|
-
constructor(httpRequest: HttpRequest) {
|
|
8
|
-
this.httpRequest = httpRequest;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
selectdb(querys: IJapzCnfgUnitSelectdbQuerys) {
|
|
12
|
-
return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/selectdb", querys, undefined);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
insertdb(params: object) {
|
|
16
|
-
return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/insertdb", undefined, params);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
updatedb(params: object) {
|
|
20
|
-
return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/updatedb", undefined, params);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
detaildb(querys: IJapzCnfgUnitDetailQuerys) {
|
|
24
|
-
return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/detaildb", querys, undefined);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
deletedb(params: object) {
|
|
28
|
-
return this.httpRequest.post<TJapz.IJapzCnfgUnitResponse[]>("/gapi/japz/tcnfgunit/deletedb", undefined, params);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default CnfgUnitRequest;
|