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

ibiz4j 发布系统代码

上级 e5b71122
......@@ -82,7 +82,8 @@ export default class MainModel {
},
{
name: 'dstlookups',
dataType:'FORMITEM',
prop: 'lookup',
dataType: 'ONE2MANYDATA',
},
{
name: 'refentityid',
......
!!!!模版产生代码错误:----
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
<?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-53-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-28-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-36-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-41-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-77-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-15-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_MODULE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_module-13-11">
<createTable tableName="IBZMODULE">
<column name="MODULEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODULE_MODULEID"/>
</column>
<column name="MODULENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CODENAME" remarks="" type="VARCHAR(100)">
</column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[META_RELATION]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_relation-82-12">
<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]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-dst_component-53-13">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="IBZCOMPONENT" constraintName="DER1N_DST_COMPONENT_META_ENTIT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ENTITYID" referencedTableName="IBZENTITY" validate="true"/>
</changeSet>
<!--输出实体[DST_CONFIG]外键关系 -->
<!--输出实体[DST_DATASOURCE]外键关系 -->
<!--输出实体[DST_ROUTER]外键关系 -->
<!--输出实体[DST_SYSTEM]外键关系 -->
<!--输出实体[DST_VIEW]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-dst_view-41-14">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="IBZVIEW" constraintName="DER1N_DST_VIEW_META_ENTITY_ENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ENTITYID" referencedTableName="IBZENTITY" validate="true"/>
</changeSet>
<!--输出实体[META_DATASET]外键关系 -->
<!--输出实体[META_ENTITY]外键关系 -->
<!--输出实体[META_FIELD]外键关系 -->
<!--输出实体[META_MODEL]外键关系 -->
<!--输出实体[META_MODULE]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-meta_module-13-15">
<addForeignKeyConstraint baseColumnNames="SYSTEMID" baseTableName="IBZMODULE" constraintName="DER1N_META_MODULE_DST_SYSTEM_S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PSSYSTEMID" referencedTableName="IBZPSSYSTEM" validate="true"/>
</changeSet>
<!--输出实体[META_RELATION]外键关系 -->
</databaseChangeLog>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册