{ "psdataentityname" : "EMRFODEMAP", "decat" : "DEFAULT", "validflag" : 1, "logicvalid" : 1, "detype" : 1, "svrpubmode" : 0, "codename" : "EMRFODEMap", "viewname" : "V_EMRFODEMAP", "enablededataset" : 1, "noviewmode" : 1, "serviceapiflag" : 1, "useraction" : 0, "logicname" : "现象引用", "existingmodel" : 1, "enabledeaction" : 1, "systemflag" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdedbcfgs" : [ { "validflag" : 1, "psdedbcfgname" : "MYSQL5" } ], "psdedrgroups" : [ { "codename" : "Auto107", "psdedrgroupname" : "详细信息", "ordervalue" : 10000 } ], "psdefields" : [ { "enableuserinput" : 0, "psdefieldname" : "CREATEDATE", "psdatatypename" : "日期时间型", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/CREATEDATE", "validflag" : 1, "physicalfield" : 1, "codename" : "CREATEDATE", "psdatatypeid" : "DATETIME", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "length" : 8, "logicname" : "建立时间", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[CREATEDATE][建立时间]", "codename" : "Auto5392", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[CREATEDATE][建立时间]", "codename" : "Auto1648", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "CREATEDATE", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 0, "psdefieldname" : "CREATEMAN", "psdatatypename" : "文本,可指定长度", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/CREATEMAN", "validflag" : 1, "physicalfield" : 1, "codename" : "CREATEMAN", "psdatatypeid" : "TEXT", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "length" : 60, "logicname" : "建立人", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[CREATEMAN][建立人]", "codename" : "Auto7348", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[CREATEMAN][建立人]", "codename" : "Auto3590", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "CREATEMAN", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "DESCRIPTION", "psdatatypename" : "文本,可指定长度", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/DESCRIPTION", "validflag" : 1, "physicalfield" : 1, "codename" : "DESCRIPTION", "psdatatypeid" : "TEXT", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "length" : 2000, "logicname" : "描述", "majorfield" : 0, "deftype" : 1, "allowempty" : 1, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[DESCRIPTION][描述]", "codename" : "Auto5555", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[DESCRIPTION][描述]", "codename" : "Auto1811", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "DESCRIPTION", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 0, "psdefieldname" : "EMRFODEMAPID", "psdatatypename" : "全局唯一标识,文本类型,用户不可见", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/EMRFODEMAPID", "validflag" : 1, "physicalfield" : 1, "codename" : "EMRFODEMAPID", "psdatatypeid" : "GUID", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 1, "length" : 100, "logicname" : "现象引用标识", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[EMRFODEMAPID][现象引用标识]", "codename" : "Auto1721", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[EMRFODEMAPID][现象引用标识]", "codename" : "Auto5465", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "EMRFODEMAPID", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "EMRFODEMAPNAME", "psdatatypename" : "文本,可指定长度", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/EMRFODEMAPNAME", "validflag" : 1, "physicalfield" : 1, "codename" : "EMRFODEMAPNAME", "psdatatypeid" : "TEXT", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "defaultvalue" : "VAR_RFODEID||-||VAR_REFOBJID", "indextype" : 0, "pkey" : 0, "length" : 200, "logicname" : "现象引用名称", "majorfield" : 1, "deftype" : 1, "allowempty" : 1, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[EMRFODEMAPNAME][现象引用名称]", "codename" : "Auto3147", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[EMRFODEMAPNAME][现象引用名称]", "codename" : "Auto6903", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "LIKE", "psdbvalueopname" : "文本包含(%)", "psdefsfitemname" : "N_EMRFODEMAPNAME_LIKE" } ], "psdefdtcols" : [ { "psdefdtcolname" : "EMRFODEMAPNAME", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 0, "psdefieldname" : "ENABLE", "psdatatypename" : "是否逻辑", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/ENABLE", "validflag" : 1, "physicalfield" : 1, "codename" : "ENABLE", "psdatatypeid" : "YESNO", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "defaultvalue" : "1", "predefinetype" : "LOGICVALID", "indextype" : 0, "pkey" : 0, "length" : 8, "logicname" : "逻辑有效标志", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[ENABLE][逻辑有效标志]", "codename" : "Auto4562", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[ENABLE][逻辑有效标志]", "codename" : "Auto819", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "ENABLE", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "ORGID", "psdatatypename" : "单项选择(文本值)", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/ORGID", "validflag" : 1, "physicalfield" : 1, "codename" : "ORGID", "psdatatypeid" : "SSCODELIST", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "pscodelistname" : "组织", "defaultvalue" : "TIP", "indextype" : 0, "pkey" : 0, "length" : 40, "logicname" : "组织", "majorfield" : 0, "deftype" : 1, "allowempty" : 1, "fkey" : 0, "pscodelistid" : "eam_codelist/PFCL_ORG", "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[ORGID][组织]", "codename" : "Auto5678", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[ORGID][组织]", "codename" : "Auto1934", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "EQ", "psdbvalueopname" : "等于(=)", "psdefsfitemname" : "N_ORGID_EQ" } ], "psdefdtcols" : [ { "psdefdtcolname" : "ORGID", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "REFOBJID", "psdatatypename" : "外键值", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/REFOBJID", "validflag" : 1, "derpsdefid" : "<PSMODULE>/EMOBJECT/EMOBJECTID", "physicalfield" : 1, "codename" : "REFOBJID", "psdatatypeid" : "PICKUP", "derpsdefname" : "EMOBJECTID", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "logicname" : "现象引用", "majorfield" : 0, "deftype" : 1, "allowempty" : 1, "fkey" : 1, "psdername" : "DER1N_EMRFODEMAP_EMOBJECT_REFOBJID", "psderid" : "<PSDATAENTITY>/DER1N_EMRFODEMAP_EMOBJECT_REFOBJID", "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[REFOBJID][现象引用]", "codename" : "Auto2565", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[REFOBJID][现象引用]", "codename" : "Auto6315", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "EQ", "psdbvalueopname" : "等于(=)", "psdefsfitemname" : "N_REFOBJID_EQ" } ], "psdefdtcols" : [ { "psdefdtcolname" : "REFOBJID", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "REFOBJNAME", "psdatatypename" : "外键值文本", "validflag" : 1, "derpsdefid" : "<PSMODULE>/EMOBJECT/EMOBJECTNAME", "physicalfield" : 0, "codename" : "REFOBJNAME", "psdatatypeid" : "PICKUPTEXT", "derpsdefname" : "EMOBJECTNAME", "indextype" : 0, "pkey" : 0, "logicname" : "现象引用", "majorfield" : 0, "deftype" : 3, "allowempty" : 1, "fkey" : 0, "psdername" : "DER1N_EMRFODEMAP_EMOBJECT_REFOBJID", "psderid" : "<PSDATAENTITY>/DER1N_EMRFODEMAP_EMOBJECT_REFOBJID", "psdefformitems" : [ { "psdefformitemname" : "[REFOBJNAME][现象引用]", "codename" : "Auto5251", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[REFOBJNAME][现象引用]", "codename" : "Auto1507", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "EQ", "psdbvalueopname" : "等于(=)", "psdefsfitemname" : "N_REFOBJNAME_EQ" }, { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "LIKE", "psdbvalueopname" : "文本包含(%)", "psdefsfitemname" : "N_REFOBJNAME_LIKE" } ], "psdefdtcols" : [ { "psdefdtcolname" : "REFOBJNAME", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "RFODEID", "psdatatypename" : "外键值", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/RFODEID", "validflag" : 1, "derpsdefid" : "<PSMODULE>/EMRFODE/EMRFODEID", "physicalfield" : 1, "codename" : "RFODEID", "psdatatypeid" : "PICKUP", "derpsdefname" : "EMRFODEID", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "logicname" : "现象", "majorfield" : 0, "deftype" : 1, "allowempty" : 1, "fkey" : 1, "psdername" : "DER1N_EMRFODEMAP_EMRFODE_RFODEID", "psderid" : "<PSDATAENTITY>/DER1N_EMRFODEMAP_EMRFODE_RFODEID", "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[RFODEID][现象]", "codename" : "Auto4318", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[RFODEID][现象]", "codename" : "Auto576", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "EQ", "psdbvalueopname" : "等于(=)", "psdefsfitemname" : "N_RFODEID_EQ" } ], "psdefdtcols" : [ { "psdefdtcolname" : "RFODEID", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 3, "psdefieldname" : "RFODENAME", "psdatatypename" : "外键值文本", "validflag" : 1, "derpsdefid" : "<PSMODULE>/EMRFODE/EMRFODENAME", "physicalfield" : 0, "codename" : "RFODENAME", "psdatatypeid" : "PICKUPTEXT", "derpsdefname" : "EMRFODENAME", "indextype" : 0, "pkey" : 0, "logicname" : "现象", "majorfield" : 0, "deftype" : 3, "allowempty" : 1, "fkey" : 0, "psdername" : "DER1N_EMRFODEMAP_EMRFODE_RFODEID", "psderid" : "<PSDATAENTITY>/DER1N_EMRFODEMAP_EMRFODE_RFODEID", "psdefformitems" : [ { "psdefformitemname" : "[RFODENAME][现象]", "codename" : "Auto1485", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[RFODENAME][现象]", "codename" : "Auto5229", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefsfitems" : [ { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "EQ", "psdbvalueopname" : "等于(=)", "psdefsfitemname" : "N_RFODENAME_EQ" }, { "psdeid" : "<PSDATAENTITY>", "psdbvalueopid" : "LIKE", "psdbvalueopname" : "文本包含(%)", "psdefsfitemname" : "N_RFODENAME_LIKE" } ], "psdefdtcols" : [ { "psdefdtcolname" : "RFODENAME", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 0, "psdefieldname" : "UPDATEDATE", "psdatatypename" : "日期时间型", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/UPDATEDATE", "validflag" : 1, "physicalfield" : 1, "codename" : "UPDATEDATE", "psdatatypeid" : "DATETIME", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "length" : 8, "logicname" : "更新时间", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[UPDATEDATE][更新时间]", "codename" : "Auto852", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[UPDATEDATE][更新时间]", "codename" : "Auto4595", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "UPDATEDATE", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] }, { "enableuserinput" : 0, "psdefieldname" : "UPDATEMAN", "psdatatypename" : "文本,可指定长度", "pssysdbcolumnid" : "DEFAULT/SRFT_EMRFODEMAP_BASE/UPDATEMAN", "validflag" : 1, "physicalfield" : 1, "codename" : "UPDATEMAN", "psdatatypeid" : "TEXT", "psdetableid" : "<PSDATAENTITY>/SRFT_EMRFODEMAP_BASE", "indextype" : 0, "pkey" : 0, "length" : 60, "logicname" : "更新人", "majorfield" : 0, "deftype" : 1, "allowempty" : 0, "fkey" : 0, "tablename" : "SRFT_EMRFODEMAP_BASE", "psdefformitems" : [ { "psdefformitemname" : "[UPDATEMAN][更新人]", "codename" : "Auto4162", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "[UPDATEMAN][更新人]", "codename" : "Auto421", "ftmode" : "CUSTOM" }, { "psdefformitemname" : "移动端默认", "codename" : "MobileDefault", "ftmode" : "MOBILEDEFAULT" }, { "psdefformitemname" : "默认", "codename" : "Default", "ftmode" : "DEFAULT" } ], "psdefdtcols" : [ { "psdefdtcolname" : "UPDATEMAN", "customdatatype" : 0, "dbtype" : "MYSQL5" } ] } ], "psdeopprivs" : [ { "logicname" : "建立", "psdeopprivname" : "CREATE" }, { "logicname" : "删除", "psdeopprivname" : "DELETE" }, { "logicname" : "读取", "psdeopprivname" : "READ" }, { "logicname" : "更新", "psdeopprivname" : "UPDATE" } ], "psdetables" : [ { "tabletype" : "MAIN", "pssysdbtableid" : "DEFAULT/SRFT_EMRFODEMAP_BASE", "psdetablename" : "SRFT_EMRFODEMAP_BASE" } ], "pssysdmitems" : [ { "dbobjtype" : "TABLE", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE", "userflag" : 0, "createsql4" : "CREATE TABLE `SRFT_EMRFODEMAP_BASE`(\n`UPDATEMAN` VARCHAR(60) COMMENT '更新人' \n,`ENABLE` INTEGER COMMENT '逻辑有效标志' \n,`UPDATEDATE` DATETIME COMMENT '更新时间' \n,`CREATEDATE` DATETIME COMMENT '建立时间' \n,`EMRFODEMAPID` VARCHAR(100) NOT NULL PRIMARY KEY COMMENT '现象引用标识' \n,`DESCRIPTION` VARCHAR(2000) COMMENT '描述' \n,`ORGID` VARCHAR(40) COMMENT '组织' \n,`EMRFODEMAPNAME` VARCHAR(200) COMMENT '现象引用名称' \n,`CREATEMAN` VARCHAR(60) COMMENT '建立人' \n,`RFODEID` VARCHAR(100) COMMENT '现象' \n,`REFOBJID` VARCHAR(100) COMMENT '现象引用' \n)COMMENT='现象引用';", "testsql" : "SELECT 1 FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "d4117e8afa72a3ceeec5f47fc969c922", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "EMRFODEMAP" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.CREATEDATE", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `CREATEDATE` DATETIME COMMENT '建立时间' \n", "testsql" : "SELECT `CREATEDATE` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "71756165ab3fe7c886e1aa78200eb7a1", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "CREATEDATE" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.CREATEMAN", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `CREATEMAN` VARCHAR(60) COMMENT '建立人' \n", "testsql" : "SELECT `CREATEMAN` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "f521fea4b9cf7e14e585d063e2e93656", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "CREATEMAN" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.DESCRIPTION", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `DESCRIPTION` VARCHAR(2000) COMMENT '描述' \n", "testsql" : "SELECT `DESCRIPTION` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "7c995597083dd2c0769efcf237f4f47e", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "DESCRIPTION" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.EMRFODEMAPID", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `EMRFODEMAPID` VARCHAR(100) COMMENT '现象引用标识' \n", "testsql" : "SELECT `EMRFODEMAPID` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "760b8599ee8e296982c96708b9c5ecf4", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "EMRFODEMAPID" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.EMRFODEMAPNAME", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `EMRFODEMAPNAME` VARCHAR(200) COMMENT '现象引用名称' \n", "testsql" : "SELECT `EMRFODEMAPNAME` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "d7624e583ef4d43fa31ed03742dcc938", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "EMRFODEMAPNAME" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.ENABLE", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `ENABLE` INTEGER COMMENT '逻辑有效标志' \n", "testsql" : "SELECT `ENABLE` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "3b2e5c57e261d3f1b54cad4e32a7903d", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "ENABLE" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.ORGID", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `ORGID` VARCHAR(40) COMMENT '组织' \n", "testsql" : "SELECT `ORGID` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "84c33a255d2ad4f7cf12faf22934b0f9", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "ORGID" }, { "dbobjtype" : "FKEY", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.REFOBJID", "userflag" : 0, "createsql4" : "ALTER TABLE SRFT_EMRFODEMAP_BASE ADD CONSTRAINT F9E54DF439522C701A FOREIGN KEY(REFOBJID) REFERENCES SRFT_EMOBJECT_BASE(EMOBJECTID)", "psobjid" : "b07a57bea5d97d9bda84d461d97faab3", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "REFOBJID" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.REFOBJID", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `REFOBJID` VARCHAR(100) COMMENT '现象引用' \n", "testsql" : "SELECT `REFOBJID` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "b07a57bea5d97d9bda84d461d97faab3", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "REFOBJID" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.RFODEID", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `RFODEID` VARCHAR(100) COMMENT '现象' \n", "testsql" : "SELECT `RFODEID` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "28e9fe8adfa71581f1212dff09890c71", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "RFODEID" }, { "dbobjtype" : "FKEY", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.RFODEID", "userflag" : 0, "createsql4" : "ALTER TABLE SRFT_EMRFODEMAP_BASE ADD CONSTRAINT FBAEDFBE6B090B46F7 FOREIGN KEY(RFODEID) REFERENCES SRFT_EMRFODE_BASE(EMRFODEID)", "psobjid" : "28e9fe8adfa71581f1212dff09890c71", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "RFODEID" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.UPDATEDATE", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `UPDATEDATE` DATETIME COMMENT '更新时间' \n", "testsql" : "SELECT `UPDATEDATE` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "3df6cf61a932394c4d9ee7b6a5aed2ea", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "UPDATEDATE" }, { "dbobjtype" : "COLUMN", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "SRFT_EMRFODEMAP_BASE.UPDATEMAN", "userflag" : 0, "createsql4" : "ALTER TABLE `SRFT_EMRFODEMAP_BASE`\nADD COLUMN `UPDATEMAN` VARCHAR(60) COMMENT '更新人' \n", "testsql" : "SELECT `UPDATEMAN` FROM `SRFT_EMRFODEMAP_BASE` WHERE 1<>1", "psobjid" : "1daafda294da1557a512b13126a8126a", "pssystemdbcfgid" : "MYSQL5", "psobjname" : "UPDATEMAN" }, { "dbobjtype" : "VIEW", "pssystemdbcfgname" : "MYSQL5", "pssysdmitemname" : "V_EMRFODEMAP", "userflag" : 0, "createsql4" : "CREATE VIEW `V_EMRFODEMAP` AS \nSELECT\nt1.`UPDATEMAN` AS `UPDATEMAN`,\nt1.`ENABLE` AS `ENABLE`,\nt1.`UPDATEDATE` AS `UPDATEDATE`,\nt1.`CREATEDATE` AS `CREATEDATE`,\nt1.`EMRFODEMAPID` AS `EMRFODEMAPID`,\nt1.`DESCRIPTION` AS `DESCRIPTION`,\nt1.`ORGID` AS `ORGID`,\nt1.`EMRFODEMAPNAME` AS `EMRFODEMAPNAME`,\nt1.`CREATEMAN` AS `CREATEMAN`,\nt11.`EMRFODENAME` AS `RFODENAME`,\nt21.`EMOBJECTNAME` AS `REFOBJNAME`,\nt1.`RFODEID` AS `RFODEID`,\nt1.`REFOBJID` AS `REFOBJID`\nFROM `SRFT_EMRFODEMAP_BASE` t1 \nLEFT JOIN `SRFT_EMRFODE_BASE` t11 ON t1.`RFODEID` = t11.`EMRFODEID` \nLEFT JOIN `SRFT_EMOBJECT_BASE` t21 ON t1.`REFOBJID` = t21.`EMOBJECTID` \n", "psobjid" : "d4117e8afa72a3ceeec5f47fc969c922", "pssystemdbcfgid" : "MYSQL5", "dropsql" : "DROP VIEW `V_EMRFODEMAP` \n", "psobjname" : "EMRFODEMAP" } ] }