|
|
|
@ -196,7 +196,11 @@
|
|
|
|
|
#sql("getAllBureau")
|
|
|
|
|
select org_id,org_name,third_party_id,CASE WHEN third_party_id IS NULL THEN 0 ELSE 1 END AS is_match
|
|
|
|
|
from t_base_organization where city_id=#para(city_id) and bureau_id=org_id
|
|
|
|
|
and is_virtual=0 and is_match=#para(is_match) order by is_match desc
|
|
|
|
|
and is_virtual=0
|
|
|
|
|
#if(is_match)
|
|
|
|
|
and third_party_id is not null
|
|
|
|
|
#end
|
|
|
|
|
order by third_party_id desc
|
|
|
|
|
#end
|
|
|
|
|
-- 获取天喻系统中待匹配的单位名称
|
|
|
|
|
#sql("getTyBureauList")
|
|
|
|
|