/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASS_ACCE_TOT_SJJT' AND KSQL_COL_NAME ='FCURRENTADJUSTAMOUNT1') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FCURRENTADJUSTAMOUNT1 DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASS_ACCE_TOT_SJJT' AND KSQL_COL_NAME ='FZZZJJE1') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FZZZJJE1 DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASS_ACCE_TOT_SJJT' AND KSQL_COL_NAME ='FXSJSZJYHJSDZJJE1') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FXSJSZJYHJSDZJJE1 DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASSET_LOSS_PT' AND KSQL_COL_NAME ='FACCOUNTORG') 
 ALTER TABLE T_TCCIT_ASSET_LOSS_PT ADD (FACCOUNTORG BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASSERT_ACCE_TOTAL' AND KSQL_COL_NAME ='FCURRENTADJUSTAMOUNT1') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FCURRENTADJUSTAMOUNT1 DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASSERT_ACCE_TOTAL' AND KSQL_COL_NAME ='FZZZJJE1') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FZZZJJE1 DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ASSERT_ACCE_TOTAL' AND KSQL_COL_NAME ='FXSJSZJYHJSDZJJE1') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FXSJSZJYHJSDZJJE1 DECIMAL(23,10) DEFAULT 0 NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
