Commit 349e3ee5 authored by hezhuozhi's avatar hezhuozhi

历史有证气瓶导入只能登记到历史使用登记证下

parent b7b48467
......@@ -445,8 +445,7 @@
LEFT JOIN idx_biz_jg_register_info ri ON ri.USE_ORG_CODE=tjur.use_registration_code
LEFT JOIN idx_biz_jg_use_info ui on ui."RECORD" = ri."RECORD"
WHERE
ri."EQU_CATEGORY" = '2300'
and ui."DATA_SOURCE" like 'jg_his%'
ui."DATA_SOURCE" like 'jg_his%'
and ui."DATA_SOURCE" not like 'jg_his_black%'
and (ri."USE_ORG_CODE" is not null or ri."USE_ORG_CODE" != '')
and tjur.is_delete=0
......
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