  -- 添加系统项目字段
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMTS_TASK' AND KSQL_COL_NAME ='FSYSPROJECTID') 
  ALTER TABLE T_PMTS_TASK ADD (FSYSPROJECTID BIGINT DEFAULT 0 NOT NULL);
  -- 添加系统WBS字段
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMTS_TASK' AND KSQL_COL_NAME ='FSYSWBSID') 
  ALTER TABLE T_PMTS_TASK ADD (FSYSWBSID BIGINT DEFAULT 0 NOT NULL);
  