@ningboyz/types 1.2.132 → 1.2.133

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.2.132",
4
+ "version": "1.2.133",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,4 +1,5 @@
1
1
  import { IPathResponse } from "../core/IPathResponse";
2
+ import { TFlowDataResponse } from "../flow";
2
3
  import { IHznkFydwBillResponse } from "./IHznkFydwBillResponse";
3
4
  import { IHznkFydwFromResponse } from "./IHznkFydwFromResponse";
4
5
  import { IHznkFydwItemResponse } from "./IHznkFydwItemResponse";
@@ -138,4 +139,34 @@ export class THznkFydwResponse implements IHznkFydwResponse {
138
139
  listITEM: IHznkFydwItemResponse[] = [];
139
140
  listBILL: IHznkFydwBillResponse[] = [];
140
141
  listFROM: IHznkFydwFromResponse[] = [];
142
+
143
+ static toFlowDatas(card: IHznkFydwResponse[]): TFlowDataResponse[] {
144
+ return card.map((u) => this.toFlowData(u));
145
+ }
146
+
147
+ //#进入流程
148
+ static toFlowData(myoa: IHznkFydwResponse): TFlowDataResponse {
149
+ const result = new TFlowDataResponse();
150
+ result.whoBuild = myoa.whoBuild;
151
+ result.userIndx = myoa.userIndx;
152
+ result.flowMain = myoa.flowMain;
153
+ result.flowNode = myoa.flowNode;
154
+ // result.notified = Const.Todo.CONST_STR_TODO_TYPE_TO_HTQD_WAIT;
155
+ result.entityID = myoa.entityID;
156
+ result.billMain = myoa.fydwIndx;
157
+ result.billCode = myoa.baseCode;
158
+ result.billMemo = myoa.baseMemo;
159
+ result.billUses = "";
160
+ result.ysxmText = "";
161
+ result.outMoney = 0;
162
+ result.createAt = myoa.createAt;
163
+ result.mastName = myoa.mastName;
164
+ result.createBy = myoa.createBy;
165
+ result.unitMain = myoa.unitMain;
166
+ result.menuUUID = myoa.menuUUID;
167
+ result.deptMain = myoa.deptMain;
168
+ result.flowStat = myoa.fydwStat;
169
+ return result;
170
+ }
171
+
141
172
  }
@@ -19,6 +19,7 @@ export interface IHznkMainRwzbResponse {
19
19
  deleteAt: number;
20
20
  queuesBy: number;
21
21
  billFrom: number;
22
+ rwzbMain: number;
22
23
  rwzbText: string;
23
24
  limitVal: number;
24
25
  rwzbMemo: string;
@@ -43,6 +44,7 @@ export class THznkMainRwzbResponse implements IHznkMainRwzbResponse {
43
44
  deleteAt: number = 0;
44
45
  queuesBy: number = 0;
45
46
  billFrom: number = 0;
47
+ rwzbMain: number = 0;
46
48
  rwzbText: string = "";
47
49
  limitVal: number = 0;
48
50
  rwzbMemo: string = "";