HighReport報(bào)表工具實(shí)現(xiàn)Json數(shù)據(jù)格式數(shù)據(jù)集
HighReport報(bào)表工具支持Json數(shù)據(jù)格式數(shù)據(jù)集,支持各種復(fù)雜Json數(shù)據(jù)格式
HighReport是報(bào)表對(duì)Json數(shù)據(jù)支持最強(qiáng)的,原因有二
- 獨(dú)立自主研發(fā)的Json數(shù)據(jù)解析引擎
- 獨(dú)立自主研發(fā)的JsonPath解析引擎
JsonPath支持父路徑定位,這樣就可以實(shí)現(xiàn)一些高級(jí)Json報(bào)表
|
序號(hào) |
節(jié)點(diǎn) |
說(shuō)明 |
|---|---|---|
|
1 |
* |
所有節(jié)點(diǎn) |
|
2 |
. |
當(dāng)前節(jié)點(diǎn) |
|
3 |
.. |
父節(jié)點(diǎn) |
|
4 |
rows |
節(jié)點(diǎn)名稱 |
|
5 |
[] |
節(jié)點(diǎn)屬性 |
舉例
abc/*/efg
abc/*/efg[id==3]
abc/*/efg[id==3 && name=="test"]
為啥研發(fā)JsonPah,因?yàn)闃?biāo)準(zhǔn)的JsonPath庫(kù)有些功能不支持

復(fù)雜Json數(shù)據(jù)示例
{
"message": {
"header": {
"auth": {
"callerid": "1552267812363",
"license": "9425846d54cf43434b7d81dd6b922fa75",
"token": "392c952d-9c0e-1342-9987-29d6d8319182",
"ipaddr": null,
"macaddr": null
},
"servicecode": {
"systemcode": "",
"busscode": "",
"version": "1",
"apiurl": "/jmzz-y12-blzk/key-query/danger-patient/list"
},
"response": {
"code": 1,
"excode": null,
"text": null,
"detail": null
}
},
"body": {
"bussresponse": {
"code": "1",
"excode": "",
"text": "請(qǐng)求成功",
"detail": ""
},
"queryresponse": {
"pageno": 1,
"pagesize": 10,
"pagecount": 7,
"recordcount": 62,
"sortfiled": null,
"sorttype": null
},
"datacompress": null,
"dataencrypt": null,
"dataset": [
{
"name": "list",
"row": [
{
"aid": 219619,
"patientId": 100022078,
"institutionId": 1,
"bedNum": "0016",
"patientStatus": 1,
"conditionState": 1,
"patientName": "楊二冪",
"deptId": 1069,
"deptName": "住院骨科",
"inpatinetAreaId": 1068,
"inpatinetArea": "骨科病區(qū)",
"patientSexId": 1,
"patientSex": "男",
"patientAge": "20歲",
"inhosapplyDate": "2020-05-14 15:57:35",
"outhosapplayDate": null,
"patientPersonId": 591,
"medicalRecordNum": "",
"hospitalId": "02000110",
"doctorGroupId": 100,
"doctorGroupName": "骨科診療組",
"nursingGroupId": 79,
"nursingGroupName": "骨科護(hù)理組",
"bedDoctorId": 1741,
"bedDoctor": "江二峰",
"bedNurId": 1743,
"bedNur": "陳二紅",
"chargeDoctorId": 1741,
"chargeDoctor": "江二峰",
"directorDoctorId": 1741,
"directorDoctor": "江峰",
"inhosImpName": "乙型病毒性肝炎",
"inhosImpDate": "2021-07-23 11:28:36",
"dangerDate": "2020-08-03 16:46:00"
},
{
"aid": 10343,
"patientId": 100022078,
"institutionId": 1,
"bedNum": "0016",
"patientStatus": 1,
"conditionState": 2,
"patientName": "楊二冪",
"deptId": 1069,
"deptName": "住院骨科",
"inpatinetAreaId": 1068,
"inpatinetArea": "骨科病區(qū)",
"patientSexId": 1,
"patientSex": "男",
"patientAge": "20歲",
"inhosapplyDate": "2020-05-14 15:57:35",
"outhosapplayDate": null,
"patientPersonId": 591,
"medicalRecordNum": "",
"hospitalId": "02000110",
"doctorGroupId": 100,
"doctorGroupName": "骨科診療組",
"nursingGroupId": 79,
"nursingGroupName": "骨科護(hù)理組",
"bedDoctorId": 1741,
"bedDoctor": "江二峰",
"bedNurId": 1743,
"bedNur": "陳二紅",
"chargeDoctorId": 1741,
"chargeDoctor": "江二峰",
"directorDoctorId": 1741,
"directorDoctor": "江二峰",
"inhosImpName": "乙型病毒性肝炎",
"inhosImpDate": "2021-07-23 11:28:36",
"dangerDate": "2020-05-23 12:15:14"
}
]
}
]
},
"extend": null
}
}
報(bào)表設(shè)置Json數(shù)據(jù)集

支持WebApi標(biāo)準(zhǔn)接口

報(bào)表左邊展示Json數(shù)據(jù)層次結(jié)構(gòu),支持對(duì)象、屬性和數(shù)組

數(shù)據(jù)結(jié)構(gòu)是2個(gè)不同的子節(jié)點(diǎn)數(shù)組

浙公網(wǎng)安備 33010602011771號(hào)