update  t_tctb_org_group_detail set FKDQJYQYLX='210' where FKDQJYQYLX=' '  and  FDECLARATION='2' and fshareid='1' and fid in (SELECT fid FROM t_tctb_org_group where ftaxtype='qysds');
update  t_tctb_org_group_detail set FKDQJYQYLX='220' where FKDQJYQYLX=' '  and  FDECLARATION='2' and fshareid='0' and fid in (SELECT fid FROM t_tctb_org_group where ftaxtype='qysds');
update  t_tctb_org_group_detail set FKDQJYQYLX='311' where FKDQJYQYLX=' '  and  FDECLARATION='3' and fshareid='1' and fid in (SELECT fid FROM t_tctb_org_group where ftaxtype='qysds');
update  t_tctb_org_group_detail set FKDQJYQYLX='312' where FKDQJYQYLX=' '  and  FDECLARATION='3' and fshareid='0' and fid in (SELECT fid FROM t_tctb_org_group where ftaxtype='qysds');
