/**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_ASSERT_ACCE_TOTAL' AND KSQL_COL_NAME ='FCURRENTADJUSTAMOUNT') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FCURRENTADJUSTAMOUNT 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 ='FPREADJUSTAMOUNT') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FPREADJUSTAMOUNT 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 ='FISPREDATA') 
 ALTER TABLE T_TCCIT_ASSERT_ACCE_TOTAL ADD (FISPREDATA CHAR(1) 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 ='FCURRENTADJUSTAMOUNT') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FCURRENTADJUSTAMOUNT 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 ='FPREADJUSTAMOUNT') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FPREADJUSTAMOUNT 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 ='FISPREDATA') 
 ALTER TABLE T_TCCIT_ASS_ACCE_TOT_SJJT ADD (FISPREDATA CHAR(1) DEFAULT '0' NOT NULL );

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