--完工入库、退库单分录增加产品(共用同一个表)
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_im_mdc_prblentry_m' AND KSQL_COL_NAME ='fpurinid') 
 ALTER TABLE t_im_mdc_prblentry_m ADD (fpurinid BIGINT DEFAULT 0 NOT NULL );
 
   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_im_mdc_prblentry_m' AND KSQL_COL_NAME ='fpurinentryid') 
 ALTER TABLE t_im_mdc_prblentry_m ADD (fpurinentryid BIGINT DEFAULT 0 NOT NULL );
