最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Jasper report - sending nested object ans using it as dataset in report - Stack Overflow

programmeradmin1浏览0评论
"serviceDetails": [
    {
        "serviceNumber": "",
        "circuitNumber": "",
        "product": "",
        "characteristics": [
            ""
        ],
        "sites": [
            {
                "siteContract": "",
                "plateId": "",
                "latitude": "",
                "longitude": ""
            }
        ],
        "childProducts": [
            ""
        ]
    }
]

I need to send list of objects with this structure to my jasper report. Basicly I need to iterate over this list and will probably need subReports for each list. Will it be possible to map this object to report parameters and then pass list parameters as data for subQueries?

Roughly what i need in each row in report:

serviceNumber - circuitNumber - product characteristic 1 | characteristic 2 ...

  • site 1
  • site 2
  • site 3
  • childprod 1
  • childprod 2 . . .
发布评论

评论列表(0)

  1. 暂无评论