使用jxls进行单元格合并
数据格式:
[
{
“_id”: “624262bd10763846e40047a4”,
“identityCard”: “513021199907254998”,
“staffName”: “测试2”,
“fundMonth”: “-01”,
“queryId”: “1”,
“organizationInfoList”: [
{
“organizationName”: “测试单位3”,
“organizationCode”: “测试code3”
}
]
},
{
“_id”:“624262bd10763846e40047a3”,
“identityCard”: “513021199907254996”,
“staffName”: “测试”,
“fundMonth”: “-01”,
“queryId”: “1”,
“organizationInfoList”: [
{
“organizationName”: “测试单位”,
“organizationCode”: “测试code”
},
{
“organizationName”: “测试单位1”,
“organizationCode”: “测试code1”
}
]
}
]
模板:
渲染结果: