@ningboyz/apis 1.3.97 → 1.3.99
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/card/types.ts +2 -0
- package/packages/core/types.ts +2 -0
- package/packages/hznj/noti.ts +18 -1
- package/packages/hznj/type.ts +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.99",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.99",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/card/types.ts
CHANGED
|
@@ -719,6 +719,7 @@ export interface ICardDataSelectdbQuerys {
|
|
|
719
719
|
lockonly: number;
|
|
720
720
|
/**筛选能否被关联*/
|
|
721
721
|
todolock: number;
|
|
722
|
+
cardmain: number;
|
|
722
723
|
}
|
|
723
724
|
|
|
724
725
|
export class TCardDataSelectdbQuerys implements ICardDataSelectdbQuerys {
|
|
@@ -727,6 +728,7 @@ export class TCardDataSelectdbQuerys implements ICardDataSelectdbQuerys {
|
|
|
727
728
|
withflow: number = -1;
|
|
728
729
|
lockonly: number = -1;
|
|
729
730
|
todolock: number = -1;
|
|
731
|
+
cardmain: number = -1;
|
|
730
732
|
}
|
|
731
733
|
|
|
732
734
|
/**
|
package/packages/core/types.ts
CHANGED
|
@@ -347,12 +347,14 @@ export interface ICoreMasttSelectdbQuerys {
|
|
|
347
347
|
unitmain: number;
|
|
348
348
|
deptmain: number;
|
|
349
349
|
usrpartc: number;
|
|
350
|
+
systypec: number;
|
|
350
351
|
}
|
|
351
352
|
|
|
352
353
|
export class TCoreMasttSelectdbQuerys implements ICoreMasttSelectdbQuerys {
|
|
353
354
|
unitmain: number = -1;
|
|
354
355
|
deptmain: number = -1;
|
|
355
356
|
usrpartc: number = -1;
|
|
357
|
+
systypec: number = -1;
|
|
356
358
|
}
|
|
357
359
|
|
|
358
360
|
/** ========== unit ========== */
|
package/packages/hznj/noti.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
//#任务通知
|
|
2
2
|
import { THznj } from "@ningboyz/types";
|
|
3
3
|
import { HttpRequest } from "../axios";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
IHznjNotiDeletedbQuerys,
|
|
6
|
+
IHznjNotiDetailQuerys,
|
|
7
|
+
IHznjNotiFinishedQuerys,
|
|
8
|
+
IHznjNotiFinishmxQuerys,
|
|
9
|
+
IHznjNotiInsertdbQuerys,
|
|
10
|
+
IHznjNotiSelectdbQuerys,
|
|
11
|
+
IHznjNotiSelectmxQuerys,
|
|
12
|
+
IHznjNotiUpdatedbQuerys
|
|
13
|
+
} from "./type";
|
|
5
14
|
|
|
6
15
|
class NotiRequest {
|
|
7
16
|
private httpRequest: HttpRequest;
|
|
@@ -32,6 +41,14 @@ class NotiRequest {
|
|
|
32
41
|
finished(querys: IHznjNotiFinishedQuerys) {
|
|
33
42
|
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/finished", querys, undefined);
|
|
34
43
|
}
|
|
44
|
+
|
|
45
|
+
selectmx(querys: IHznjNotiSelectmxQuerys) {
|
|
46
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/selectmx", querys, undefined);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
finishmx(querys: IHznjNotiFinishmxQuerys) {
|
|
50
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/finishmx", querys, undefined);
|
|
51
|
+
}
|
|
35
52
|
}
|
|
36
53
|
|
|
37
54
|
export default NotiRequest;
|
package/packages/hznj/type.ts
CHANGED
|
@@ -314,6 +314,16 @@ export class THznjNotiSelectdbQuerys implements IHznjNotiSelectdbQuerys {
|
|
|
314
314
|
withflow: number = 0;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
+
export interface IHznjNotiSelectmxQuerys {
|
|
318
|
+
sourcend: number;
|
|
319
|
+
withflow: number;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export class THznjNotiSelectmxQuerys implements IHznjNotiSelectmxQuerys {
|
|
323
|
+
sourcend: number = -1;
|
|
324
|
+
withflow: number = 0;
|
|
325
|
+
}
|
|
326
|
+
|
|
317
327
|
export interface IHznjNotiFinishedQuerys {
|
|
318
328
|
sourcend: number;
|
|
319
329
|
}
|
|
@@ -322,6 +332,14 @@ export class THznjNotiFinishedQuerys implements IHznjNotiFinishedQuerys {
|
|
|
322
332
|
sourcend: number = -1;
|
|
323
333
|
}
|
|
324
334
|
|
|
335
|
+
export interface IHznjNotiFinishmxQuerys {
|
|
336
|
+
sourcend: number;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export class THznjNotiFinishmxQuerys implements IHznjNotiFinishmxQuerys {
|
|
340
|
+
sourcend: number = -1;
|
|
341
|
+
}
|
|
342
|
+
|
|
325
343
|
export interface IHznjNotiInsertdbQuerys {
|
|
326
344
|
sourcend: number;
|
|
327
345
|
}
|