--升级销售单据的收货/结算/付款客户信息，为空时升级为订货客户
--销售订单
UPDATE T_SM_SALORDER SET FRECCUSTOMERID = FCUSTOMERID WHERE FRECCUSTOMERID = 0;
UPDATE T_SM_SALORDER SET FSETTLECUSTOMERID = FCUSTOMERID WHERE FSETTLECUSTOMERID = 0;
UPDATE T_SM_SALORDER SET FPAYINGCUSTOMERID = FCUSTOMERID WHERE FPAYINGCUSTOMERID = 0;
