

-- 差异分摊加项目字段
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_im_mdc_invbackdifshare' AND KSQL_COL_NAME ='fproject') 
 ALTER TABLE t_im_mdc_invbackdifshare ADD (fproject BIGINT DEFAULT 0 NOT NULL );
 
 
 -- 差异分摊明细加项目字段
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_im_mdc_shdifsharedetail' AND KSQL_COL_NAME ='fshproject') 
 ALTER TABLE t_im_mdc_shdifsharedetail ADD (fshproject BIGINT DEFAULT 0 NOT NULL );

