flowable DURATION_字段
时间: 2024-03-28 09:34:08 浏览: 11
Flowable是一个基于Reactive Streams标准的响应式编程库,用于处理异步数据流。在Flowable中,DURATION_字段是一个表示持续时间的常量字段。
DURATION_字段是Flowable类中的一个静态字段,它用于指定Flowable的持续时间。它的类型是long,表示以毫秒为单位的时间间隔。通过设置DURATION_字段,可以控制Flowable在发射数据项之间的时间间隔。
例如,可以使用DURATION_字段创建一个每隔1秒发射一个数字的Flowable:
```java
Flowable<Long> flowable = Flowable.interval(1, TimeUnit.SECONDS);
```
在上面的例子中,interval操作符创建了一个每隔1秒发射一个递增数字的Flowable。通过设置DURATION_字段为1秒,我们可以控制数据项之间的时间间隔。
相关问题
帮我把下列数据变为json格式,数据全为字符串格式:tx_date: 20230305, check_note: 1, no: 20230609SYZC000293, cap_name: test0609, cur_no: 1, cost: 76804.40, dep_sts: 未折旧, dep_mode: 1, dep_cyc: 3, leave_rate: 0.00000, dep_time: 12, use_time: 0, opn_br_no: 28, open_date: 0, cap_code: 房屋及建筑物, dep_dec_amt: 0, accdepre_amt: 0, accdepre_amt_after: 10000.00, dep_bal: 0.00, accdepre_amting: 10000, remark: test0612, no_zh_: 20230609SYZC000305, check_note_zh_: 调增, flowable_: 1, flowable_targetNodeData: {"category":"CWSYS_70","isInput":"1","menuName":"使用资产折旧调整","pageNo":"cwsys_05_04"}, flowable_file_dataInfo: {"flowable_file_storeType":"undefined","flowable_file_split":false,"flowable_file_canDelete":true,"flowable_file_readOnly":false,"flowable_file_id":"FL-5272bc70-08e8-11ee-91f0-4f321091ca5a"}, apply_amt: 10000
{
"tx_date": "20230305",
"check_note": "1",
"no": "20230609SYZC000293",
"cap_name": "test0609",
"cur_no": "1",
"cost": "76804.40",
"dep_sts": "未折旧",
"dep_mode": "1",
"dep_cyc": "3",
"leave_rate": "0.00000",
"dep_time": "12",
"use_time": "0",
"opn_br_no": "28",
"open_date": "0",
"cap_code": "房屋及建筑物",
"dep_dec_amt": "0",
"accdepre_amt": "0",
"accdepre_amt_after": "10000.00",
"dep_bal": "0.00",
"accdepre_amting": "10000",
"remark": "test0612",
"no_zh_": "20230609SYZC000305",
"check_note_zh_": "调增",
"flowable_": "1",
"flowable_targetNodeData": {
"category": "CWSYS_70",
"isInput": "1",
"menuName": "使用资产折旧调整",
"pageNo": "cwsys_05_04"
},
"flowable_file_dataInfo": {
"flowable_file_storeType": "undefined",
"flowable_file_split": false,
"flowable_file_canDelete": true,
"flowable_file_readOnly": false,
"flowable_file_id": "FL-5272bc70-08e8-11ee-91f0-4f321091ca5a"
},
"apply_amt": "10000"
}
帮我把下列数据变为json格式,数据全为字符串格式:tx_date: 20230305, bal1: 76804.40, bal2: 0.00, bal3: 0.00, bal5: 3195.60, check_note: 1, aft_unset_fin_exp: 13195.60, no: 20230609SYZC000293, cap_name: test0609, cur_no: 1, cap_code: 房屋及建筑物, opn_br_no: [69812]XXX银行812支行, use_person: , use_part: [69812]XXX银行812支行, manager: , manage_part: [69812]XXX银行812支行, exp_date: 20240213, lease_type: 经营租赁, unset_fin_exp: 0.00, apply_amt: 10000, remark: test0612, no_zh_: 20230609SYZC000305, check_note_zh_: 调增, flowable_: 1, flowable_targetNodeData: {"category":"CWSYS_75","isInput":"1","menuName":"未确认融资费用摊销调整","pageNo":"cwsys_05_05"}, flowable_file_dataInfo: {"flowable_file_storeType":"undefined","flowable_file_split":false,"flowable_file_canDelete":true,"flowable_file_readOnly":false,"flowable_file_id":"FL-aa2a3ef0-08cc-11ee-bb06-9b9a7fbf5dad"}
{
"tx_date": "20230305",
"bal1": "76804.40",
"bal2": "0.00",
"bal3": "0.00",
"bal5": "3195.60",
"check_note": "1",
"aft_unset_fin_exp": "13195.60",
"no": "20230609SYZC000293",
"cap_name": "test0609",
"cur_no": "1",
"cap_code": "房屋及建筑物",
"opn_br_no": "[69812]XXX银行812支行",
"use_person": "",
"use_part": "[69812]XXX银行812支行",
"manager": "",
"manage_part": "[69812]XXX银行812支行",
"exp_date": "20240213",
"lease_type": "经营租赁",
"unset_fin_exp": "0.00",
"apply_amt": "10000",
"remark": "test0612",
"no_zh_": "20230609SYZC000305",
"check_note_zh_": "调增",
"flowable_": "1",
"flowable_targetNodeData": {
"category": "CWSYS_75",
"isInput": "1",
"menuName": "未确认融资费用摊销调整",
"pageNo": "cwsys_05_05"
},
"flowable_file_dataInfo": {
"flowable_file_storeType": "undefined",
"flowable_file_split": false,
"flowable_file_canDelete": true,
"flowable_file_readOnly": false,
"flowable_file_id": "FL-aa2a3ef0-08cc-11ee-bb06-9b9a7fbf5dad"
}
}