{
  "psdataentityname" : "GOALROLLUPQUERY",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "GoalRollupQuery",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "memo" : "Query that is used to filter the results of the goal rollup.",
  "useraction" : 0,
  "logicname" : "汇总查询",
  "existingmodel" : 0,
  "systemflag" : 0,
  "tablename" : "GOALROLLUPQUERY",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto61",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "usertag" : "DateTime",
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto3238",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CREATEDATE][CreateDate]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto2258",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CREATEMAN][CreateMan]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 3,
    "psdefieldname" : "FETCHXML",
    "psdatatypename" : "长文本，没有长度限制",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/FETCHXML",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "FetchXml",
    "psdatatypeid" : "LONGTEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "条件准则",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto2641",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[FETCHXML][FetchXml]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "FETCHXML",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Uniqueidentifier",
    "enableuserinput" : 3,
    "psdefieldname" : "GOALROLLUPQUERYID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/GOALROLLUPQUERYID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "GoalRollupQueryId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 1,
    "length" : 60,
    "logicname" : "目标汇总查询",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto841",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[GOALROLLUPQUERYID][GoalRollupQueryId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "GOALROLLUPQUERYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 3,
    "psdefieldname" : "GOALROLLUPQUERYNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/GOALROLLUPQUERYNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "goalrollupqueryName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 100,
    "logicname" : "目标汇总查询名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto3957",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[GOALROLLUPQUERYNAME][goalrollupqueryName]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_GOALROLLUPQUERYNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "GOALROLLUPQUERYNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Integer",
    "enableuserinput" : 3,
    "psdefieldname" : "IMPORTSEQUENCENUMBER",
    "psdatatypename" : "整型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/IMPORTSEQUENCENUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "ImportSequenceNumber",
    "psdatatypeid" : "INT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "导入序列号",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto2443",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[IMPORTSEQUENCENUMBER][ImportSequenceNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "IMPORTSEQUENCENUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "DateTime",
    "enableuserinput" : 3,
    "psdefieldname" : "OVERRIDDENCREATEDON",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/OVERRIDDENCREATEDON",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OverriddenCreatedOn",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "创建记录的时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto1757",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OVERRIDDENCREATEDON][OverriddenCreatedOn]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OVERRIDDENCREATEDON",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Owner",
    "enableuserinput" : 3,
    "psdefieldname" : "OWNERID",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/OWNERID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OwnerId",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "负责人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "usertag2" : "systemuser,team",
    "psdefformitems" : [ {
      "codename" : "Auto380",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OWNERID][OwnerId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OWNERID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 3,
    "psdefieldname" : "OWNERNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/OWNERNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OwnerName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 100,
    "logicname" : "负责人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto84",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OWNERIDYOMINAME][OwnerIdYomiName]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ]
  }, {
    "usertag" : "EntityName",
    "enableuserinput" : 3,
    "psdefieldname" : "OWNERTYPE",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/OWNERTYPE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OwnerType",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 100,
    "logicname" : "负责人 ID 类型",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto4500",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OWNERIDTYPE][OwnerIdType]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OWNERTYPE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "EntityName",
    "enableuserinput" : 3,
    "psdefieldname" : "QUERYENTITYTYPE",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/QUERYENTITYTYPE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "QueryEntityType",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 100,
    "logicname" : "实体类型",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto4177",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[QUERYENTITYTYPE][QueryEntityType]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "QUERYENTITYTYPE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "State",
    "enableuserinput" : 3,
    "psdefieldname" : "STATECODE",
    "psdatatypename" : "单项选择(数值)",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/STATECODE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "StateCode",
    "psdatatypeid" : "NSCODELIST",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "pscodelistname" : "goalrollupquery__StateCode",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "状态",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "pscodelistid" : "goalrollupquery__StateCode",
    "psdefformitems" : [ {
      "codename" : "Auto1701",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[STATECODE][StateCode]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_STATECODE_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "STATECODE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Status",
    "enableuserinput" : 3,
    "psdefieldname" : "STATUSCODE",
    "psdatatypename" : "单项选择(数值)",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/STATUSCODE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "StatusCode",
    "psdatatypeid" : "NSCODELIST",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "pscodelistname" : "goalrollupquery__StatusCode",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "状态描述",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "pscodelistid" : "goalrollupquery__StatusCode",
    "psdefformitems" : [ {
      "codename" : "Auto2879",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[STATUSCODE][StatusCode]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_STATUSCODE_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "STATUSCODE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Integer",
    "enableuserinput" : 3,
    "psdefieldname" : "TIMEZONERULEVERSIONNUMBER",
    "psdatatypename" : "整型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/TIMEZONERULEVERSIONNUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "TimeZoneRuleVersionNumber",
    "psdatatypeid" : "INT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "时区规则版本号",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto2541",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[TIMEZONERULEVERSIONNUMBER][TimeZoneRuleVersionNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "TIMEZONERULEVERSIONNUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "DateTime",
    "enableuserinput" : 0,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto835",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[UPDATEDATE][UpdateDate]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 0,
    "psdefieldname" : "UPDATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto4481",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[UPDATEMAN][UpdateMan]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Integer",
    "enableuserinput" : 3,
    "psdefieldname" : "UTCCONVERSIONTIMEZONECODE",
    "psdatatypename" : "整型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/UTCCONVERSIONTIMEZONECODE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UTCConversionTimeZoneCode",
    "psdatatypeid" : "INT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "UTC 转换时区代码",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto531",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[UTCCONVERSIONTIMEZONECODE][UTCConversionTimeZoneCode]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UTCCONVERSIONTIMEZONECODE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "BigInt",
    "enableuserinput" : 3,
    "psdefieldname" : "VERSIONNUMBER",
    "psdatatypename" : "大整型",
    "pssysdbcolumnid" : "DEFAULT/GOALROLLUPQUERY/VERSIONNUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "VersionNumber",
    "psdatatypeid" : "BIGINT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/GOALROLLUPQUERY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "版本号",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto1133",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[VERSIONNUMBER][VersionNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "VERSIONNUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  } ],
  "psdeopprivs" : [ {
    "logicname" : "建立",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "CREATE"
  }, {
    "logicname" : "删除",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "DELETE"
  }, {
    "logicname" : "读取",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "READ"
  }, {
    "logicname" : "更新",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "UPDATE"
  } ],
  "psdetables" : [ {
    "pssysdbtableid" : "DEFAULT/GOALROLLUPQUERY",
    "psdetablename" : "GOALROLLUPQUERY",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:11:11"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `GOALROLLUPQUERY`(\n`OWNERID`  VARCHAR(60) COMMENT '负责人' \n,`UTCCONVERSIONTIMEZONECODE`  INTEGER COMMENT 'UTC 转换时区代码' \n,`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`GOALROLLUPQUERYID`  VARCHAR(60)  NOT NULL PRIMARY KEY COMMENT '目标汇总查询' \n,`VERSIONNUMBER`  BIGINT(20) COMMENT '版本号' \n,`STATECODE`  INTEGER COMMENT '状态' \n,`OVERRIDDENCREATEDON`  DATETIME COMMENT '创建记录的时间' \n,`OWNERNAME`  VARCHAR(100) COMMENT '负责人' \n,`OWNERTYPE`  VARCHAR(100) COMMENT '负责人 ID 类型' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`IMPORTSEQUENCENUMBER`  INTEGER COMMENT '导入序列号' \n,`TIMEZONERULEVERSIONNUMBER`  INTEGER COMMENT '时区规则版本号' \n,`FETCHXML`  MEDIUMTEXT COMMENT '条件准则' \n,`STATUSCODE`  INTEGER COMMENT '状态描述' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`GOALROLLUPQUERYNAME`  VARCHAR(100) COMMENT '目标汇总查询名称' \n,`QUERYENTITYTYPE`  VARCHAR(100) COMMENT '实体类型' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n)COMMENT='汇总查询';",
    "testsql" : "SELECT 1 FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "74ded5c3b241fa5fe1eb35f219c32e85",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "GOALROLLUPQUERY",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "af9441b5191a31ba4a8d858e96f26eec",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "7d2aa765233fb61d5eb3eb13a1afda28",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.FETCHXML",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `FETCHXML`  MEDIUMTEXT  COMMENT '条件准则' \n",
    "testsql" : "SELECT `FETCHXML` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "91423deab8a975017e8394657d38f15c",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "FETCHXML",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.GOALROLLUPQUERYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `GOALROLLUPQUERYID`  VARCHAR(60)  COMMENT '目标汇总查询' \n",
    "testsql" : "SELECT `GOALROLLUPQUERYID` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "2f19f93c34251036a61207001d1412e7",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "GOALROLLUPQUERYID",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.GOALROLLUPQUERYNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `GOALROLLUPQUERYNAME`  VARCHAR(100)  COMMENT '目标汇总查询名称' \n",
    "testsql" : "SELECT `GOALROLLUPQUERYNAME` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "d951b2e915c414927b25b0110ab9e9c5",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "GOALROLLUPQUERYNAME",
    "createdate" : "2020-08-07 09:46:45"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.IMPORTSEQUENCENUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `IMPORTSEQUENCENUMBER`  INTEGER  COMMENT '导入序列号' \n",
    "testsql" : "SELECT `IMPORTSEQUENCENUMBER` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "879bd5f1545c521f6f960cf229bb5091",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "IMPORTSEQUENCENUMBER",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.OVERRIDDENCREATEDON",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `OVERRIDDENCREATEDON`  DATETIME  COMMENT '创建记录的时间' \n",
    "testsql" : "SELECT `OVERRIDDENCREATEDON` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "6177e7d991706b92a76d58d37797337b",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OVERRIDDENCREATEDON",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.OWNERID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `OWNERID`  VARCHAR(60)  COMMENT '负责人' \n",
    "testsql" : "SELECT `OWNERID` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "152311d2b1ac435702e3a0ae3100f9fe",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OWNERID",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.OWNERNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `OWNERNAME`  VARCHAR(100)  COMMENT '负责人' \n",
    "testsql" : "SELECT `OWNERNAME` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "6c123d8f0dd3185f2f28e2c86936c6db",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OWNERNAME",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.OWNERTYPE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `OWNERTYPE`  VARCHAR(100)  COMMENT '负责人 ID 类型' \n",
    "testsql" : "SELECT `OWNERTYPE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "7a916b5b96a8c4deeeba6ad8303a11d9",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OWNERTYPE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.QUERYENTITYTYPE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `QUERYENTITYTYPE`  VARCHAR(100)  COMMENT '实体类型' \n",
    "testsql" : "SELECT `QUERYENTITYTYPE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "e4d3cfd0f11bb7181ca362c072c9d523",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "QUERYENTITYTYPE",
    "createdate" : "2020-08-07 09:46:45"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.STATECODE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `STATECODE`  INTEGER  COMMENT '状态' \n",
    "testsql" : "SELECT `STATECODE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "5e88ab247b1de39fe1e24125a13bbbd0",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "STATECODE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.STATUSCODE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `STATUSCODE`  INTEGER  COMMENT '状态描述' \n",
    "testsql" : "SELECT `STATUSCODE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "9bf87effce9cd663424b196f711bfaa1",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "STATUSCODE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.TIMEZONERULEVERSIONNUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `TIMEZONERULEVERSIONNUMBER`  INTEGER  COMMENT '时区规则版本号' \n",
    "testsql" : "SELECT `TIMEZONERULEVERSIONNUMBER` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "8c6592c0654dad38da60582fb16a1e92",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "TIMEZONERULEVERSIONNUMBER",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "2edffb155e2f3977caffb46f8410a3ed",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "f6e8bf8172a745ff10604f7ad8f3666f",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:46:45"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.UTCCONVERSIONTIMEZONECODE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `UTCCONVERSIONTIMEZONECODE`  INTEGER  COMMENT 'UTC 转换时区代码' \n",
    "testsql" : "SELECT `UTCCONVERSIONTIMEZONECODE` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "1d9d26f50b2f57c79d3153d057584e77",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UTCCONVERSIONTIMEZONECODE",
    "createdate" : "2020-08-07 09:46:44"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "GOALROLLUPQUERY.VERSIONNUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `GOALROLLUPQUERY`\nADD COLUMN `VERSIONNUMBER`  BIGINT(20)  COMMENT '版本号' \n",
    "testsql" : "SELECT `VERSIONNUMBER` FROM `GOALROLLUPQUERY` WHERE 1<>1",
    "psobjid" : "3f512ee05c9f337cd626effaf15e7260",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "VERSIONNUMBER",
    "createdate" : "2020-08-07 09:46:44"
  } ]
}