我正在使用 iReport 4.0.2 。我在报表中有两个表共享相同的数据集,因此某些字段位于一个表中,其余字段显示在另一个表中。但它执行的第一个表打印两次,第二个表不显示 我怎么能解决这个问题?
我正在使用 PostgreSQL
我在数据集中使用的查询是
SELECT
fst_insp_qpqlml."date_of_inspection" AS date_of_inspection,
fst_insp_qpqlml."land_type" AS land_type,
fst_insp_qpqlml."are_structures" AS are_structures,
fst_insp_qpqlml."is_contiguous" AS is_contiguous,
fst_insp_qpqlml."report_court_orders" AS report_court_orders,
fst_insp_qpqlml."has_crusher_attached" AS has_crusher_attached,
fst_insp_qpqlml."eou_ssi" AS eou_ssi,
fst_insp_qpqlml."cutting_unit_location" AS cutting_unit_location,
fst_insp_qpqlml."capacity_cubic_meter" AS capacity_cubic_meter,
fst_insp_qpqlml."capacity_square_meter" AS capacity_square_meter,
fst_insp_qpqlml."has_distinct_industrial" AS has_distinct_industrial,
fst_insp_qpqlml."has_distinct_industrial_programme" AS has_distinct_industrial_det,
fst_insp_qpqlml."is_harmful" AS is_harmful,
fst_insp_qpqlml."env_issue_accidents" AS env_issue_accidents,
fst_insp_qpqlml."mineral_supplied_to" AS mineral_supplied_to,
fst_insp_qpqlml."details_heavy_mechines" AS details_heavy_mechines,
fst_insp_qpqlml."quarrying_area" AS quarrying_area,
fst_insp_qpqlml."quantity" AS quantity,
fst_insp_qpqlml."total_reserve" AS total_reserve,
fst_insp_qpqlml."toposheet_no" AS toposheet_no,
fst_insp_qpqlml."details_magistrate_court" AS details_magistrate_court,
fst_insp_qpqlml."is_reserved" AS is_reserved,
fst_insp_qpqlml."land_assigned_special_purpose" AS land_assigned_special_purpose,
fst_insp_qpqlml."details_court_attatchment_nonliability" AS details_court_attatchment,
fst_insp_qpqlml."other_detail" AS other_detail,
fst_insp_qpqlml."is_special_permit" AS total_reserve
FROM "public"."fst_insp_qpqlml" fst_insp_qpqlml
WHERE fst_insp_qpqlml.application_id=$P{applicationId}