


#20201014北京保安公司、自招单位公司信息监管机构显示至分局层级
update security_company t1,police t2,police t3
set t1.districtOrgId=t3.id,t1.districtOrgName=t3.orgname
where t1.active=true and t1.orgId=t2.id and t2.parent_org=t3.id and t3.orgtype=3;