@ningboyz/apis 1.4.179 → 1.4.180

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.4.179",
3
+ "version": "1.4.180",
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.4.179",
20
+ "@ningboyz/types": "1.4.180",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import { TCore } from "@ningboyz/types";
2
2
  import { HttpRequest } from "../axios";
3
- import { ICoreDddwSelectdbQuerys } from "./types";
3
+ import { ICoreDddwDeletedb1Querys, ICoreDddwDetaildb1Querys, ICoreDddwInsertdbQuerys, ICoreDddwSelectdb1Querys, ICoreDddwSelectdbQuerys, ICoreDddwUpdatedb1Querys } from "./types";
4
4
 
5
5
  class DddwRequest {
6
6
  private httpRequest: HttpRequest;
@@ -46,6 +46,31 @@ class DddwRequest {
46
46
  deletedb(querys: ICoreDddwSelectdbQuerys, params: object) {
47
47
  return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tdddw/deleted2", querys, params);
48
48
  }
49
+
50
+ /**查询供货商
51
+ * @param querys
52
+ * @returns
53
+ */
54
+ selectdb1(querys: ICoreDddwSelectdb1Querys) {
55
+ return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tdddw/selectdb", querys, undefined);
56
+ }
57
+
58
+ // 新增供货商
59
+ insertdb1(querys: ICoreDddwInsertdbQuerys, params: object) {
60
+ return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tdddw/insertdb", querys, params);
61
+ }
62
+ // 修改供货商
63
+ updatedb1(querys: ICoreDddwUpdatedb1Querys, params: object) {
64
+ return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tcust/updatedb", querys, params);
65
+ }
66
+ // 删除供货商
67
+ deletedb1(querys: ICoreDddwDeletedb1Querys, params: object) {
68
+ return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tcust/deletedb", querys, params);
69
+ }
70
+ // 供货商详情
71
+ detaildb1(querys: ICoreDddwDetaildb1Querys, params: object) {
72
+ return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tuser/detaildb", querys, params);
73
+ }
49
74
  }
50
75
 
51
76
  export default DddwRequest;
@@ -881,5 +881,38 @@ export class TCoreUserUpdatedbTouchurlQuerys implements ICoreUserUpdatedbTouchur
881
881
  touchurl: string = "";
882
882
  }
883
883
 
884
+ // 供货商
885
+ export interface ICoreDddwInsertdbQuerys {
886
+
887
+ }
888
+
889
+ export class TCoreDddwInsertdbQuerys implements ICoreDddwInsertdbQuerys {
890
+ }
891
+
892
+
893
+ export interface ICoreDddwSelectdb1Querys {
894
+ }
895
+
896
+ export class TCoreDddwSelectdb1Querys implements ICoreDddwSelectdb1Querys {
897
+ }
898
+
899
+ export interface ICoreDddwUpdatedb1Querys {
900
+ }
901
+
902
+ export class TCoreDddwUpdatedb1Querys implements ICoreDddwUpdatedb1Querys {
903
+ }
904
+
905
+ export interface ICoreDddwDeletedb1Querys {
906
+ }
907
+
908
+ export class TCoreDddwDeletedb1Querys implements ICoreDddwDeletedb1Querys {
909
+ }
910
+
911
+ export interface ICoreDddwDetaildb1Querys {
912
+ }
913
+
914
+ export class TCoreDddwDetaildb1Querys implements ICoreDddwDetaildb1Querys {
915
+ }
916
+
884
917
  export interface ICoreSysmenuWldypageSelectdbQuerys {}
885
918
  export class TCoreSysmenuWldypageSelectdbQuerys implements ICoreSysmenuWldypageSelectdbQuerys {}