提交 fcafad2b 编写于 作者: ibizdev's avatar ibizdev

zhouweidong 发布系统代码

上级 27c7e809
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[组件]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZCOMPONENT",resultMap = "DstComponentResultMap")
public class DstComponent extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 部件标识
*/
@DEField(name = "cid" , isKeyField=true)
@TableId(value= "cid",type=IdType.ASSIGN_UUID)
@JSONField(name = "id")
@JsonProperty("id")
private String id;
/**
* 名称
*/
@DEField(name = "cname")
@TableField(value = "cname")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 代码名称
*/
@TableField(value = "codename")
@JSONField(name = "code_name")
@JsonProperty("code_name")
private String codeName;
/**
* 系统标识
*/
@TableField(value = "systemid")
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
* 应用标识
*/
@TableField(value = "appid")
@JSONField(name = "app_id")
@JsonProperty("app_id")
private String appId;
/**
* 类型
*/
@DEField(name = "ctype")
@TableField(value = "ctype")
@JSONField(name = "type")
@JsonProperty("type")
private String type;
/**
* 实体标识
*/
@TableField(value = "entityid")
@JSONField(name = "entity_id")
@JsonProperty("entity_id")
private String entityId;
/**
* 主实体
*/
@TableField(exist = false)
@JSONField(name = "entity_name")
@JsonProperty("entity_name")
private String entityName;
/**
* 配置
*/
@DEField(name = "cfg")
@TableField(value = "cfg")
@JSONField(name = "config")
@JsonProperty("config")
private String config;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstApp app;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstSystem system;
/**
* 实体
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity factEntity;
/**
* 设置 [名称]
*/
public void setName(String name){
this.name = name ;
this.modify("cname",name);
}
/**
* 设置 [代码名称]
*/
public void setCodeName(String codeName){
this.codeName = codeName ;
this.modify("codename",codeName);
}
/**
* 设置 [系统标识]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [应用标识]
*/
public void setAppId(String appId){
this.appId = appId ;
this.modify("appid",appId);
}
/**
* 设置 [类型]
*/
public void setType(String type){
this.type = type ;
this.modify("ctype",type);
}
/**
* 设置 [实体标识]
*/
public void setEntityId(String entityId){
this.entityId = entityId ;
this.modify("entityid",entityId);
}
/**
* 设置 [配置]
*/
public void setConfig(String config){
this.config = config ;
this.modify("cfg",config);
}
/**
* 获取 [部件标识]
*/
public String getId(){
if(ObjectUtils.isEmpty(id)){
id=(String)getDefaultKey(true);
}
return id;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getSystemId()))&&(!ObjectUtils.isEmpty(this.getAppId()))&&(!ObjectUtils.isEmpty(this.getCodeName())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s||%s" ,this.getSystemId(),this.getAppId(),this.getCodeName()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("cid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[配置]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZCFG",resultMap = "DstConfigResultMap")
public class DstConfig extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识
*/
@DEField(isKeyField=true)
@TableId(value= "cfgid",type=IdType.ASSIGN_UUID)
@JSONField(name = "cfg_id")
@JsonProperty("cfg_id")
private String cfgId;
/**
* 系统标识
*/
@TableField(value = "systemid")
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
* 配置类型
*/
@TableField(value = "cfgtype")
@JSONField(name = "cfg_type")
@JsonProperty("cfg_type")
private String cfgType;
/**
* 引用类型
*/
@TableField(value = "targettype")
@JSONField(name = "target_type")
@JsonProperty("target_type")
private String targetType;
/**
* 用户标识
*/
@DEField(preType = DEPredefinedFieldType.UPDATEMAN)
@TableField(value = "userid")
@JSONField(name = "user_id")
@JsonProperty("user_id")
private String userId;
/**
* 配置内容
*/
@TableField(value = "cfg")
@JSONField(name = "cfg")
@JsonProperty("cfg")
private String cfg;
/**
* 更新时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "update_date" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("update_date")
private Timestamp updateDate;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstSystem system;
/**
* 设置 [系统标识]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [配置类型]
*/
public void setCfgType(String cfgType){
this.cfgType = cfgType ;
this.modify("cfgtype",cfgType);
}
/**
* 设置 [引用类型]
*/
public void setTargetType(String targetType){
this.targetType = targetType ;
this.modify("targettype",targetType);
}
/**
* 设置 [配置内容]
*/
public void setCfg(String cfg){
this.cfg = cfg ;
this.modify("cfg",cfg);
}
/**
* 获取 [标识]
*/
public String getCfgId(){
if(ObjectUtils.isEmpty(cfgId)){
cfgId=(String)getDefaultKey(true);
}
return cfgId;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getSystemId()))&&(!ObjectUtils.isEmpty(this.getCfgType()))&&(!ObjectUtils.isEmpty(this.getTargetType()))&&(!ObjectUtils.isEmpty(this.getUserId())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s||%s||%s" ,this.getSystemId(),this.getCfgType(),this.getTargetType(),this.getUserId()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("cfgid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[路由]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZROUTER",resultMap = "DstRouterResultMap")
public class DstRouter extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 路径标识
*/
@DEField(name = "routerid" , isKeyField=true)
@TableId(value= "routerid",type=IdType.ASSIGN_UUID)
@JSONField(name = "id")
@JsonProperty("id")
private String id;
/**
* 路径名称
*/
@DEField(name = "routername")
@TableField(value = "routername")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 系统标识
*/
@TableField(value = "systemid")
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
* 应用标识
*/
@TableField(value = "appid")
@JSONField(name = "app_id")
@JsonProperty("app_id")
private String appId;
/**
* 路径
*/
@DEField(name = "routerpath")
@TableField(value = "routerpath")
@JSONField(name = "path")
@JsonProperty("path")
private String path;
/**
* 父路径标识
*/
@TableField(value = "parentid")
@JSONField(name = "parentid")
@JsonProperty("parentid")
private String parentid;
/**
* meta
*/
@TableField(value = "meta")
@JSONField(name = "meta")
@JsonProperty("meta")
private String meta;
/**
* 组件
*/
@TableField(value = "component")
@JSONField(name = "component")
@JsonProperty("component")
private String component;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstApp app;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstRouter parent;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstSystem system;
/**
* 设置 [路径名称]
*/
public void setName(String name){
this.name = name ;
this.modify("routername",name);
}
/**
* 设置 [系统标识]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [应用标识]
*/
public void setAppId(String appId){
this.appId = appId ;
this.modify("appid",appId);
}
/**
* 设置 [路径]
*/
public void setPath(String path){
this.path = path ;
this.modify("routerpath",path);
}
/**
* 设置 [父路径标识]
*/
public void setParentid(String parentid){
this.parentid = parentid ;
this.modify("parentid",parentid);
}
/**
* 设置 [meta]
*/
public void setMeta(String meta){
this.meta = meta ;
this.modify("meta",meta);
}
/**
* 设置 [组件]
*/
public void setComponent(String component){
this.component = component ;
this.modify("component",component);
}
/**
* 获取 [路径标识]
*/
public String getId(){
if(ObjectUtils.isEmpty(id)){
id=(String)getDefaultKey(true);
}
return id;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getSystemId()))&&(!ObjectUtils.isEmpty(this.getAppId()))&&(!ObjectUtils.isEmpty(this.getPath())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s||%s" ,this.getSystemId(),this.getAppId(),this.getPath()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("routerid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[页面]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZVIEW",resultMap = "DstViewResultMap")
public class DstView extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识
*/
@DEField(name = "viewid" , isKeyField=true)
@TableId(value= "viewid",type=IdType.ASSIGN_UUID)
@JSONField(name = "id")
@JsonProperty("id")
private String id;
/**
* 名称
*/
@DEField(name = "viewname")
@TableField(value = "viewname")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 视图路径
*/
@DEField(name = "viewpath")
@TableField(value = "viewpath")
@JSONField(name = "path")
@JsonProperty("path")
private String path;
/**
* 系统标识
*/
@TableField(value = "systemid")
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
* 应用标识
*/
@TableField(value = "appid")
@JSONField(name = "app_id")
@JsonProperty("app_id")
private String appId;
/**
* 实体标识
*/
@TableField(value = "entityid")
@JSONField(name = "entity_id")
@JsonProperty("entity_id")
private String entityId;
/**
* 主实体
*/
@TableField(exist = false)
@JSONField(name = "entity_name")
@JsonProperty("entity_name")
private String entityName;
/**
* 配置
*/
@DEField(name = "cfg")
@TableField(value = "cfg")
@JSONField(name = "config")
@JsonProperty("config")
private String config;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstApp app;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstSystem system;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity factEntity;
/**
* 设置 [名称]
*/
public void setName(String name){
this.name = name ;
this.modify("viewname",name);
}
/**
* 设置 [视图路径]
*/
public void setPath(String path){
this.path = path ;
this.modify("viewpath",path);
}
/**
* 设置 [系统标识]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/**
* 设置 [应用标识]
*/
public void setAppId(String appId){
this.appId = appId ;
this.modify("appid",appId);
}
/**
* 设置 [实体标识]
*/
public void setEntityId(String entityId){
this.entityId = entityId ;
this.modify("entityid",entityId);
}
/**
* 设置 [配置]
*/
public void setConfig(String config){
this.config = config ;
this.modify("cfg",config);
}
/**
* 获取 [标识]
*/
public String getId(){
if(ObjectUtils.isEmpty(id)){
id=(String)getDefaultKey(true);
}
return id;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getSystemId()))&&(!ObjectUtils.isEmpty(this.getAppId()))&&(!ObjectUtils.isEmpty(this.getPath())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s||%s" ,this.getSystemId(),this.getAppId(),this.getPath()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("viewid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[数据集]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZDATASET",resultMap = "MetaDataSetResultMap")
public class MetaDataSet extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 标识
*/
@DEField(isKeyField=true)
@TableId(value= "datasetid",type=IdType.ASSIGN_UUID)
@JSONField(name = "dataset_id")
@JsonProperty("dataset_id")
private String datasetId;
/**
* 名称
*/
@TableField(value = "datasetname")
@JSONField(name = "dataset_name")
@JsonProperty("dataset_name")
private String datasetName;
/**
* 实体标识
*/
@TableField(value = "entityid")
@JSONField(name = "entity_id")
@JsonProperty("entity_id")
private String entityId;
/**
* 实体
*/
@TableField(value = "entityname")
@JSONField(name = "entity_name")
@JsonProperty("entity_name")
private String entityName;
/**
* 代码名称
*/
@TableField(value = "codename")
@JSONField(name = "code_name")
@JsonProperty("code_name")
private String codeName;
/**
* 代码
*/
@TableField(value = "dscode")
@JSONField(name = "ds_code")
@JsonProperty("ds_code")
private String dsCode;
/**
* 模型
*/
@TableField(value = "dsmodel")
@JSONField(name = "ds_model")
@JsonProperty("ds_model")
private String dsModel;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity entity;
/**
* 设置 [名称]
*/
public void setDatasetName(String datasetName){
this.datasetName = datasetName ;
this.modify("datasetname",datasetName);
}
/**
* 设置 [实体标识]
*/
public void setEntityId(String entityId){
this.entityId = entityId ;
this.modify("entityid",entityId);
}
/**
* 设置 [实体]
*/
public void setEntityName(String entityName){
this.entityName = entityName ;
this.modify("entityname",entityName);
}
/**
* 设置 [代码名称]
*/
public void setCodeName(String codeName){
this.codeName = codeName ;
this.modify("codename",codeName);
}
/**
* 设置 [代码]
*/
public void setDsCode(String dsCode){
this.dsCode = dsCode ;
this.modify("dscode",dsCode);
}
/**
* 设置 [模型]
*/
public void setDsModel(String dsModel){
this.dsModel = dsModel ;
this.modify("dsmodel",dsModel);
}
/**
* 获取 [标识]
*/
public String getDatasetId(){
if(ObjectUtils.isEmpty(datasetId)){
datasetId=(String)getDefaultKey(true);
}
return datasetId;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getEntityId()))&&(!ObjectUtils.isEmpty(this.getCodeName())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s" ,this.getEntityId(),this.getCodeName()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("datasetid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[属性]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZFIELD",resultMap = "MetaFieldResultMap")
public class MetaField extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 属性标识
*/
@DEField(isKeyField=true)
@TableId(value= "fieldid",type=IdType.ASSIGN_UUID)
@JSONField(name = "field_id")
@JsonProperty("field_id")
private String fieldId;
/**
* 属性名称
*/
@TableField(value = "fieldname")
@JSONField(name = "field_name")
@JsonProperty("field_name")
private String fieldName;
/**
* 代码名称
*/
@TableField(value = "codename")
@JSONField(name = "code_name")
@JsonProperty("code_name")
private String codeName;
/**
* 实体标识
*/
@TableField(value = "entityid")
@JSONField(name = "entity_id")
@JsonProperty("entity_id")
private String entityId;
/**
* 实体名称
*/
@TableField(value = "entityname")
@JSONField(name = "entity_name")
@JsonProperty("entity_name")
private String entityName;
/**
* 实体代码名称
*/
@TableField(exist = false)
@JSONField(name = "entity_code_name")
@JsonProperty("entity_code_name")
private String entityCodeName;
/**
* 系统
*/
@TableField(exist = false)
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
* 属性逻辑名
*/
@TableField(value = "fieldlogicname")
@JSONField(name = "field_logic_name")
@JsonProperty("field_logic_name")
private String fieldLogicName;
/**
* 属性全路径名称
*/
@TableField(exist = false)
@JSONField(name = "field_uni_name")
@JsonProperty("field_uni_name")
private String fieldUniName;
/**
* 显示名称
*/
@TableField(exist = false)
@JSONField(name = "field_show_name")
@JsonProperty("field_show_name")
private String fieldShowName;
/**
* 引用属性标识
*/
@TableField(value = "reffieldid")
@JSONField(name = "ref_field_id")
@JsonProperty("ref_field_id")
private String refFieldId;
/**
* 引用属性名称
*/
@TableField(value = "reffieldname")
@JSONField(name = "ref_field_name")
@JsonProperty("ref_field_name")
private String refFieldName;
/**
* 引用关系标识
*/
@TableField(value = "relationid")
@JSONField(name = "relation_id")
@JsonProperty("relation_id")
private String relationId;
/**
* 引用关系
*/
@TableField(value = "relationname")
@JSONField(name = "relation_name")
@JsonProperty("relation_name")
private String relationName;
/**
* 引用实体
*/
@TableField(exist = false)
@JSONField(name = "ref_entity_name")
@JsonProperty("ref_entity_name")
private String refEntityName;
/**
* 关系代码
*/
@TableField(exist = false)
@JSONField(name = "relation_code_name")
@JsonProperty("relation_code_name")
private String relationCodeName;
/**
* 主键
*/
@TableField(value = "keyfield")
@JSONField(name = "key_field")
@JsonProperty("key_field")
private Integer keyField;
/**
* 主信息
*/
@TableField(value = "majorfield")
@JSONField(name = "major_field")
@JsonProperty("major_field")
private Integer majorField;
/**
* 联合主键
*/
@TableField(value = "unionkey")
@JSONField(name = "union_key")
@JsonProperty("union_key")
private String unionKey;
/**
* 属性类型
*/
@TableField(value = "fieldtype")
@JSONField(name = "field_type")
@JsonProperty("field_type")
private String fieldType;
/**
* 预定义类型
*/
@TableField(value = "predefined")
@JSONField(name = "predefined")
@JsonProperty("predefined")
private String predefined;
/**
* 数据字典
*/
@TableField(value = "dict")
@JSONField(name = "dict")
@JsonProperty("dict")
private String dict;
/**
* 允许为空
*/
@TableField(value = "nullable")
@JSONField(name = "nullable")
@JsonProperty("nullable")
private Integer nullable;
/**
* 物理属性
*/
@TableField(value = "physicalfield")
@JSONField(name = "physical_field")
@JsonProperty("physical_field")
private Integer physicalField;
/**
* 数据类型
*/
@TableField(value = "datatype")
@JSONField(name = "data_type")
@JsonProperty("data_type")
private String dataType;
/**
* 长度
*/
@TableField(value = "datalength")
@JSONField(name = "data_length")
@JsonProperty("data_length")
private Integer dataLength;
/**
* 精度
*/
@TableField(value = "datapreci")
@JSONField(name = "data_preci")
@JsonProperty("data_preci")
private Integer dataPreci;
/**
* 逻辑表达式
*/
@TableField(value = "expression")
@JSONField(name = "expression")
@JsonProperty("expression")
private String expression;
/**
* 扩展属性
*/
@DEField(defaultValue = "0")
@TableField(value = "extensionfield")
@JSONField(name = "extension_field")
@JsonProperty("extension_field")
private Integer extensionField;
/**
* 排序
*/
@TableField(value = "showorder")
@JSONField(name = "show_order")
@JsonProperty("show_order")
private Integer showOrder;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity entity;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaField reffield;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaRelationship relation;
/**
* 设置 [属性名称]
*/
public void setFieldName(String fieldName){
this.fieldName = fieldName ;
this.modify("fieldname",fieldName);
}
/**
* 设置 [代码名称]
*/
public void setCodeName(String codeName){
this.codeName = codeName ;
this.modify("codename",codeName);
}
/**
* 设置 [实体标识]
*/
public void setEntityId(String entityId){
this.entityId = entityId ;
this.modify("entityid",entityId);
}
/**
* 设置 [实体名称]
*/
public void setEntityName(String entityName){
this.entityName = entityName ;
this.modify("entityname",entityName);
}
/**
* 设置 [属性逻辑名]
*/
public void setFieldLogicName(String fieldLogicName){
this.fieldLogicName = fieldLogicName ;
this.modify("fieldlogicname",fieldLogicName);
}
/**
* 设置 [引用属性标识]
*/
public void setRefFieldId(String refFieldId){
this.refFieldId = refFieldId ;
this.modify("reffieldid",refFieldId);
}
/**
* 设置 [引用属性名称]
*/
public void setRefFieldName(String refFieldName){
this.refFieldName = refFieldName ;
this.modify("reffieldname",refFieldName);
}
/**
* 设置 [引用关系标识]
*/
public void setRelationId(String relationId){
this.relationId = relationId ;
this.modify("relationid",relationId);
}
/**
* 设置 [引用关系]
*/
public void setRelationName(String relationName){
this.relationName = relationName ;
this.modify("relationname",relationName);
}
/**
* 设置 [主键]
*/
public void setKeyField(Integer keyField){
this.keyField = keyField ;
this.modify("keyfield",keyField);
}
/**
* 设置 [主信息]
*/
public void setMajorField(Integer majorField){
this.majorField = majorField ;
this.modify("majorfield",majorField);
}
/**
* 设置 [联合主键]
*/
public void setUnionKey(String unionKey){
this.unionKey = unionKey ;
this.modify("unionkey",unionKey);
}
/**
* 设置 [属性类型]
*/
public void setFieldType(String fieldType){
this.fieldType = fieldType ;
this.modify("fieldtype",fieldType);
}
/**
* 设置 [预定义类型]
*/
public void setPredefined(String predefined){
this.predefined = predefined ;
this.modify("predefined",predefined);
}
/**
* 设置 [数据字典]
*/
public void setDict(String dict){
this.dict = dict ;
this.modify("dict",dict);
}
/**
* 设置 [允许为空]
*/
public void setNullable(Integer nullable){
this.nullable = nullable ;
this.modify("nullable",nullable);
}
/**
* 设置 [物理属性]
*/
public void setPhysicalField(Integer physicalField){
this.physicalField = physicalField ;
this.modify("physicalfield",physicalField);
}
/**
* 设置 [数据类型]
*/
public void setDataType(String dataType){
this.dataType = dataType ;
this.modify("datatype",dataType);
}
/**
* 设置 [长度]
*/
public void setDataLength(Integer dataLength){
this.dataLength = dataLength ;
this.modify("datalength",dataLength);
}
/**
* 设置 [精度]
*/
public void setDataPreci(Integer dataPreci){
this.dataPreci = dataPreci ;
this.modify("datapreci",dataPreci);
}
/**
* 设置 [逻辑表达式]
*/
public void setExpression(String expression){
this.expression = expression ;
this.modify("expression",expression);
}
/**
* 设置 [扩展属性]
*/
public void setExtensionField(Integer extensionField){
this.extensionField = extensionField ;
this.modify("extensionfield",extensionField);
}
/**
* 设置 [排序]
*/
public void setShowOrder(Integer showOrder){
this.showOrder = showOrder ;
this.modify("showorder",showOrder);
}
/**
* 获取 [属性标识]
*/
public String getFieldId(){
if(ObjectUtils.isEmpty(fieldId)){
fieldId=(String)getDefaultKey(true);
}
return fieldId;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getEntityId()))&&(!ObjectUtils.isEmpty(this.getFieldName())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s" ,this.getEntityId(),this.getFieldName()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("fieldid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${privateCodeName} [in template "CODETEMPL_en_US" at line 334, column 32]
----
\ No newline at end of file
package cn.ibizlab.core.lite.domain;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;
import cn.ibizlab.util.domain.EntityMP;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
/**
* 实体[实体关系]
*/
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties(value = "handler")
@TableName(value = "IBZRELATION",resultMap = "MetaRelationshipResultMap")
public class MetaRelationship extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 关系标识
*/
@DEField(name = "relationid" , isKeyField=true)
@TableId(value= "relationid",type=IdType.ASSIGN_UUID)
@JSONField(name = "id")
@JsonProperty("id")
private String id;
/**
* 关系名称
*/
@DEField(name = "relationname")
@TableField(value = "relationname")
@JSONField(name = "name")
@JsonProperty("name")
private String name;
/**
* 类型
*/
@DEField(name = "reltype")
@TableField(value = "reltype")
@JSONField(name = "relation_type")
@JsonProperty("relation_type")
private String relationType;
/**
* 代码名称
*/
@TableField(value = "codename")
@JSONField(name = "code_name")
@JsonProperty("code_name")
private String codeName;
/**
* 实体标识
*/
@TableField(value = "entityid")
@JSONField(name = "entity_id")
@JsonProperty("entity_id")
private String entityId;
/**
* 实体名称
*/
@TableField(value = "entityname")
@JSONField(name = "entity_name")
@JsonProperty("entity_name")
private String entityName;
/**
* 引用实体标识
*/
@TableField(value = "refentityid")
@JSONField(name = "ref_entity_id")
@JsonProperty("ref_entity_id")
private String refEntityId;
/**
* 引用实体名称
*/
@TableField(value = "refentityname")
@JSONField(name = "ref_entity_name")
@JsonProperty("ref_entity_name")
private String refEntityName;
/**
* 嵌套代码名称
*/
@TableField(value = "nestedname")
@JSONField(name = "nested_name")
@JsonProperty("nested_name")
private String nestedName;
/**
* 系统
*/
@TableField(exist = false)
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity entity;
/**
*
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.MetaEntity reference;
/**
* lookup
*/
@JSONField(name = "lookups")
@JsonProperty("lookups")
@TableField(value = "lookup" , typeHandler = cn.ibizlab.core.lite.domain.handlers.DstLookupTypeHandler.class)
private List<cn.ibizlab.core.lite.domain.DstLookup> lookup;
/**
* 设置 [lookup]
*/
public void setLookup(List<cn.ibizlab.core.lite.domain.DstLookup> lookup){
this.lookup = lookup ;
this.modify("lookup",(lookup!=null)?lookup:(new ArrayList()));
}
/**
* 设置 [关系名称]
*/
public void setName(String name){
this.name = name ;
this.modify("relationname",name);
}
/**
* 设置 [类型]
*/
public void setRelationType(String relationType){
this.relationType = relationType ;
this.modify("reltype",relationType);
}
/**
* 设置 [代码名称]
*/
public void setCodeName(String codeName){
this.codeName = codeName ;
this.modify("codename",codeName);
}
/**
* 设置 [实体标识]
*/
public void setEntityId(String entityId){
this.entityId = entityId ;
this.modify("entityid",entityId);
}
/**
* 设置 [实体名称]
*/
public void setEntityName(String entityName){
this.entityName = entityName ;
this.modify("entityname",entityName);
}
/**
* 设置 [引用实体标识]
*/
public void setRefEntityId(String refEntityId){
this.refEntityId = refEntityId ;
this.modify("refentityid",refEntityId);
}
/**
* 设置 [引用实体名称]
*/
public void setRefEntityName(String refEntityName){
this.refEntityName = refEntityName ;
this.modify("refentityname",refEntityName);
}
/**
* 设置 [嵌套代码名称]
*/
public void setNestedName(String nestedName){
this.nestedName = nestedName ;
this.modify("nestedname",nestedName);
}
/**
* 获取 [关系标识]
*/
public String getId(){
if(ObjectUtils.isEmpty(id)){
id=(String)getDefaultKey(true);
}
return id;
}
@Override
public Serializable getDefaultKey(boolean gen) {
if((!ObjectUtils.isEmpty(this.getEntityId()))&&(!ObjectUtils.isEmpty(this.getRefEntityId()))&&(!ObjectUtils.isEmpty(this.getCodeName())))
return DigestUtils.md5DigestAsHex(String.format("%s||%s||%s" ,this.getEntityId(),this.getRefEntityId(),this.getCodeName()).getBytes());
return null;
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param bIncEmpty 是否包括空值
* @param <T>
* @return
*/
@Override
public <T> T copyTo(T targetEntity, boolean bIncEmpty) {
this.reset("relationid");
return super.copyTo(targetEntity,bIncEmpty);
}
}
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!--输出实体[DST_COMPONENT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_component-56-1">
<createTable tableName="IBZCOMPONENT">
<column name="CID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_COMPONENT_CID"/>
</column>
<column name="CNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="APPID" remarks="" type="VARCHAR(100)">
</column>
<column name="CTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="CFG" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_CONFIG]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_config-23-2">
<createTable tableName="IBZCFG">
<column name="CFGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_CONFIG_CFGID"/>
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="CFGTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="TARGETTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="USERID" remarks="" type="VARCHAR(100)">
</column>
<column name="CFG" remarks="" type="TEXT(1048576)">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_DATASOURCE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_datasource-39-3">
<createTable tableName="IBZDATASOURCE">
<column name="DSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_DATASOURCE_DSID"/>
</column>
<column name="DSNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="DSTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="DSCFG" remarks="" type="VARCHAR(4000)">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_ROUTER]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_router-33-4">
<createTable tableName="IBZROUTER">
<column name="ROUTERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_ROUTER_ROUTERID"/>
</column>
<column name="ROUTERNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="APPID" remarks="" type="VARCHAR(100)">
</column>
<column name="ROUTERPATH" remarks="" type="VARCHAR(255)">
</column>
<column name="PARENTID" remarks="" type="VARCHAR(100)">
</column>
<column name="META" remarks="" type="TEXT(1048576)">
</column>
<column name="COMPONENT" remarks="" type="VARCHAR(2000)">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_SYSTEM]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_system-37-5">
<createTable tableName="IBZPSSYSTEM">
<column name="PSSYSTEMID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_SYSTEM_PSSYSTEMID"/>
</column>
<column name="PSSYSTEMNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="SYSSTRUCTURE" remarks="" type="TEXT(1048576)">
</column>
<column name="APPS" remarks="" type="TEXT(1048576)">
</column>
<column name="MD5CHECK" remarks="" type="VARCHAR(100)">
</column>
<column name="SHOWORDER" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_VIEW]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_view-42-6">
<createTable tableName="IBZVIEW">
<column name="VIEWID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/>
</column>
<column name="VIEWNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="VIEWPATH" remarks="" type="VARCHAR(255)">
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="APPID" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="CFG" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[META_DATASET]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_dataset-32-7">
<createTable tableName="IBZDATASET">
<column name="DATASETID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_DATASET_DATASETID"/>
</column>
<column name="DATASETNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="DSCODE" remarks="" type="TEXT(1048576)">
</column>
<column name="DSMODEL" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[META_ENTITY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_entity-79-8">
<createTable tableName="IBZENTITY">
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/>
</column>
<column name="ENTITYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="LOGICNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="TABLENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="DSID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[META_FIELD]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_field-144-9">
<createTable tableName="IBZFIELD">
<column name="FIELDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/>
</column>
<column name="FIELDNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="FIELDLOGICNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="REFFIELDID" remarks="" type="VARCHAR(100)">
</column>
<column name="REFFIELDNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="RELATIONID" remarks="" type="VARCHAR(100)">
</column>
<column name="RELATIONNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="KEYFIELD" remarks="" type="INT">
</column>
<column name="MAJORFIELD" remarks="" type="INT">
</column>
<column name="UNIONKEY" remarks="" type="VARCHAR(70)">
</column>
<column name="FIELDTYPE" remarks="" type="VARCHAR(70)">
</column>
<column name="PREDEFINED" remarks="" type="VARCHAR(70)">
</column>
<column name="DICT" remarks="" type="VARCHAR(100)">
</column>
<column name="NULLABLE" remarks="" type="INT">
</column>
<column name="PHYSICALFIELD" remarks="" type="INT">
</column>
<column name="DATATYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="DATALENGTH" remarks="" type="INT">
</column>
<column name="DATAPRECI" remarks="" type="INT">
</column>
<column name="EXPRESSION" remarks="" type="VARCHAR(2000)">
</column>
<column name="EXTENSIONFIELD" remarks="" type="INT">
</column>
<column name="SHOWORDER" remarks="" type="INT">
</column>
</createTable>
</changeSet>
<!--输出实体[META_MODEL]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_model-18-10">
<createTable tableName="IBZMODEL">
<column name="MODELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
</column>
<column name="MODELNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="MODELCFG" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[META_RELATION]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_relation-86-11">
<createTable tableName="IBZRELATION">
<column name="RELATIONID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_RELATION_RELATIONID"/>
</column>
<column name="RELATIONNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="RELTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="ENTITYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="REFENTITYID" remarks="" type="VARCHAR(100)">
</column>
<column name="REFENTITYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="NESTEDNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="LOOKUP" remarks="" type="TEXT(1000)">
</column>
</createTable>
</changeSet>
<!--输出实体[DST_COMPONENT]外键关系 -->
<!--输出实体[DST_CONFIG]外键关系 -->
<!--输出实体[DST_DATASOURCE]外键关系 -->
<!--输出实体[DST_ROUTER]外键关系 -->
<!--输出实体[DST_SYSTEM]外键关系 -->
<!--输出实体[DST_VIEW]外键关系 -->
<!--输出实体[META_DATASET]外键关系 -->
<!--输出实体[META_ENTITY]外键关系 -->
<!--输出实体[META_FIELD]外键关系 -->
<!--输出实体[META_MODEL]外键关系 -->
<!--输出实体[META_RELATION]外键关系 -->
</databaseChangeLog>
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${dbinst.getUserName()} [in template "CODETEMPL_en_US" at line 28, column 24]
----
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册