/** 升级历史数据，成本子要素 成本性态数据升级 **/
update t_cad_subelement set fcostbehavior = 'A' where (fcostbehavior is null or fcostbehavior=' ') and ftype != '003';
update t_cad_subelement set fcostbehavior = 'B' where (fcostbehavior is null or fcostbehavior=' ') and ftype = '003';