-- 销售订单历史数据升级 换算方式设为直接汇率
update t_sm_salorder set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';

-- 销售订单变更单历史数据升级 换算方式设为直接汇率
update t_sm_xsalorder set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';

-- 发货通知单历史数据升级 换算方式设为直接汇率
update t_sm_delivernotice set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';

-- 退货申请单历史数据升级 换算方式设为直接汇率
update t_sm_returnapply set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';

-- 销售报价单历史数据升级 换算方式设为直接汇率
update t_sm_quotationbill set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';

-- 委托代销清单历史数据升级 换算方式设为直接汇率
update t_sm_salsagency set fexchangetype='0' where  fexchangetype is null or fexchangetype = ' ';
