-- 升级辅助资料上级辅助资料
-- T_BAS_ASSISTANTDATAENTRY  FPARENT

UPDATE t_bas_assistantdataentry set FPARENT = FPARENTID WHERE FPARENTID <> ' ' AND FPARENTID <> '0';
UPDATE t_bas_assistantdataentry set FLEVEL = 1 WHERE FPARENTID = ' ' OR FPARENTID = '0';













