-- 升级租金结算、计息明细表的来源类型字段
update t_fa_lease_rent_settle set fsourcetype = 'A' where finterest >= 0;
update t_fa_lease_rent_settle set fsourcetype = 'B' where finterest < 0;

update t_fa_interest_detail_e set fsourcetype = 'A' where fbeginbalance >= 0;
update t_fa_interest_detail_e set fsourcetype = 'B' where fbeginbalance < 0;