/****合同台账 新甲方、甲方类型历史数据升级***/
UPDATE T_ER_CONTRACTBILL_S   SET   FPARTATYPENEW  = 'bos_org';

/****对公报销单、预付单、暂估单 关联合同分录 甲方 甲方类型 历史数据升级***/
UPDATE T_ER_COSTESTIMATECONTRACT   SET   FCONTRACTPARTANEW  = FCONTRACTPARTA  WHERE FCONTRACTPARTA != '0';
UPDATE  T_ER_COSTESTIMATECONTRACT SET  FCONTRACTPARTATYPENEW =  'bos_org';

UPDATE T_ER_PUBREIMCONTRACT   SET   FCONTRACTPARTANEW = FCONTRACTPARTA  WHERE FCONTRACTPARTA != '0';
UPDATE  T_ER_PUBREIMCONTRACT SET  FCONTRACTPARTATYPENEW =  'bos_org';


UPDATE T_ER_PREPAYCONTRACT   SET   FCONTRACTPARTANEW = FCONTRACTPARTA  WHERE FCONTRACTPARTA != '0';
UPDATE  T_ER_PREPAYCONTRACT SET  FCONTRACTPARTATYPENEW = 'bos_org';



