/**Begin D:\\PDM_UPGRADE\PDM_UPGRADE\PDM1\HIES_table.sql **/
-- 新增 模板配置新增查询实体字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HIES_DIAETPLCONF' AND KSQL_COL_NAME IN ('FQUERYENTITYID')) 
 ALTER TABLE T_HIES_DIAETPLCONF ADD (FQUERYENTITYID VARCHAR(50) DEFAULT ' ' NOT NULL );

/**End D:\\PDM_UPGRADE\PDM_UPGRADE\PDM1\HIES_table.sql **/
