Commit 6baa2709 authored by 刘林's avatar 刘林

fix(jyjc):修改sql报错

parent 6dff9653
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
oa.sequence_nbr, oa.sequence_nbr,
oa.unit_code, oa.unit_code,
oa.open_biz_type, oa.open_biz_type,
his.history_data -> 'baseUnitLicences' -> 0 ->> 'agencyType' AS agency_type his.history_data::jsonb -> 'baseUnitLicences' -> 0 ->> 'agencyType' AS agency_type
FROM FROM
"tz_jyjc_opening_application" oa "tz_jyjc_opening_application" oa
LEFT JOIN tz_jyjc_inspection_history his ON his.s_seq = oa.sequence_nbr LEFT JOIN tz_jyjc_inspection_history his ON his.s_seq = oa.sequence_nbr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment