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

zhouweidong 发布系统代码 [ibz-dst,应用]

上级 3640194c
...@@ -151,6 +151,14 @@ ...@@ -151,6 +151,14 @@
"viewname": "DAMetricGridView", "viewname": "DAMetricGridView",
"viewtag": "311397b990a864f52992aa9b391bfc32" "viewtag": "311397b990a864f52992aa9b391bfc32"
}, },
"metamodelfileuploadoptionview": {
"title": "模型选项操作视图",
"caption": "模型",
"viewtype": "DEOPTVIEW",
"viewmodule": "lite",
"viewname": "MetaModelFileUploadOptionView",
"viewtag": "35ffea078130f40ec781f57b0103fb0d"
},
"dstsystempickupview": { "dstsystempickupview": {
"title": "系统数据选择视图", "title": "系统数据选择视图",
"caption": "系统", "caption": "系统",
...@@ -327,6 +335,14 @@ ...@@ -327,6 +335,14 @@
"viewname": "MetaFieldPickupGridView", "viewname": "MetaFieldPickupGridView",
"viewtag": "914cae9916bd367675367665e8165397" "viewtag": "914cae9916bd367675367665e8165397"
}, },
"metamodelimportfile": {
"title": "模型实体导入文件",
"caption": "模型实体导入文件",
"viewtype": "DEHTMLVIEW",
"viewmodule": "lite",
"viewname": "MetaModelimportFile",
"viewtag": "9171e50e8a680950da2ec6c6e3b1be2a"
},
"dstdatasourcepickupgridview": { "dstdatasourcepickupgridview": {
"title": "数据源选择表格视图", "title": "数据源选择表格视图",
"caption": "数据源", "caption": "数据源",
......
...@@ -18,6 +18,10 @@ function getLocaleResourceBase(){ ...@@ -18,6 +18,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型选择表格视图",null), title: commonLogic.appcommonhandle("模型选择表格视图",null),
}, },
fileuploadoptionview: {
caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型选项操作视图",null),
},
pickupview: { pickupview: {
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型数据选择视图",null), title: commonLogic.appcommonhandle("模型数据选择视图",null),
...@@ -26,6 +30,10 @@ function getLocaleResourceBase(){ ...@@ -26,6 +30,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型编辑视图",null), title: commonLogic.appcommonhandle("模型编辑视图",null),
}, },
importfile: {
caption: commonLogic.appcommonhandle("模型实体导入文件",null),
title: commonLogic.appcommonhandle("模型实体导入文件",null),
},
mpickupview: { mpickupview: {
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型数据多项选择视图",null), title: commonLogic.appcommonhandle("模型数据多项选择视图",null),
...@@ -58,6 +66,28 @@ function getLocaleResourceBase(){ ...@@ -58,6 +66,28 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
fileupload_form: {
details: {
group1: commonLogic.appcommonhandle("模型基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: commonLogic.appcommonhandle("其它",null),
srfupdatedate: commonLogic.appcommonhandle("最后修改时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("标识",null),
srfmajortext: commonLogic.appcommonhandle("名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
formitem: commonLogic.appcommonhandle("文件",null),
createdate: commonLogic.appcommonhandle("创建时间",null),
updatedate: commonLogic.appcommonhandle("最后修改时间",null),
modelid: commonLogic.appcommonhandle("标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
modelname: commonLogic.appcommonhandle("名称",null), modelname: commonLogic.appcommonhandle("名称",null),
...@@ -78,9 +108,9 @@ function getLocaleResourceBase(){ ...@@ -78,9 +108,9 @@ function getLocaleResourceBase(){
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_exportfile: { tbitem1_export: {
caption: commonLogic.appcommonhandle("导出文件",null), caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("导出文件",null), tip: commonLogic.appcommonhandle("模型导出",null),
}, },
tbitem2: { tbitem2: {
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
......
...@@ -18,6 +18,10 @@ function getLocaleResourceBase(){ ...@@ -18,6 +18,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型选择表格视图",null), title: commonLogic.appcommonhandle("模型选择表格视图",null),
}, },
fileuploadoptionview: {
caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型选项操作视图",null),
},
pickupview: { pickupview: {
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型数据选择视图",null), title: commonLogic.appcommonhandle("模型数据选择视图",null),
...@@ -26,6 +30,10 @@ function getLocaleResourceBase(){ ...@@ -26,6 +30,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型编辑视图",null), title: commonLogic.appcommonhandle("模型编辑视图",null),
}, },
importfile: {
caption: commonLogic.appcommonhandle("模型实体导入文件",null),
title: commonLogic.appcommonhandle("模型实体导入文件",null),
},
mpickupview: { mpickupview: {
caption: commonLogic.appcommonhandle("模型",null), caption: commonLogic.appcommonhandle("模型",null),
title: commonLogic.appcommonhandle("模型数据多项选择视图",null), title: commonLogic.appcommonhandle("模型数据多项选择视图",null),
...@@ -58,6 +66,28 @@ function getLocaleResourceBase(){ ...@@ -58,6 +66,28 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
fileupload_form: {
details: {
group1: commonLogic.appcommonhandle("模型基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: commonLogic.appcommonhandle("其它",null),
srfupdatedate: commonLogic.appcommonhandle("最后修改时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("标识",null),
srfmajortext: commonLogic.appcommonhandle("名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
formitem: commonLogic.appcommonhandle("文件",null),
createdate: commonLogic.appcommonhandle("创建时间",null),
updatedate: commonLogic.appcommonhandle("最后修改时间",null),
modelid: commonLogic.appcommonhandle("标识",null),
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
modelname: commonLogic.appcommonhandle("名称",null), modelname: commonLogic.appcommonhandle("名称",null),
...@@ -78,9 +108,9 @@ function getLocaleResourceBase(){ ...@@ -78,9 +108,9 @@ function getLocaleResourceBase(){
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem1_exportfile: { tbitem1_export: {
caption: commonLogic.appcommonhandle("导出文件",null), caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("导出文件",null), tip: commonLogic.appcommonhandle("模型导出",null),
}, },
tbitem2: { tbitem2: {
caption: commonLogic.appcommonhandle("-",null), caption: commonLogic.appcommonhandle("-",null),
......
...@@ -159,6 +159,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -159,6 +159,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "DAMetricGridView", "viewname": "DAMetricGridView",
"viewtag": "311397b990a864f52992aa9b391bfc32" "viewtag": "311397b990a864f52992aa9b391bfc32"
}, },
"metamodelfileuploadoptionview": {
"title": "模型选项操作视图",
"caption": "模型",
"viewtype": "DEOPTVIEW",
"viewmodule": "lite",
"viewname": "MetaModelFileUploadOptionView",
"viewtag": "35ffea078130f40ec781f57b0103fb0d"
},
"dstsystempickupview": { "dstsystempickupview": {
"title": "系统数据选择视图", "title": "系统数据选择视图",
"caption": "系统", "caption": "系统",
...@@ -335,6 +343,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -335,6 +343,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "MetaFieldPickupGridView", "viewname": "MetaFieldPickupGridView",
"viewtag": "914cae9916bd367675367665e8165397" "viewtag": "914cae9916bd367675367665e8165397"
}, },
"metamodelimportfile": {
"title": "模型实体导入文件",
"caption": "模型实体导入文件",
"viewtype": "DEHTMLVIEW",
"viewmodule": "lite",
"viewname": "MetaModelimportFile",
"viewtag": "9171e50e8a680950da2ec6c6e3b1be2a"
},
"dstdatasourcepickupgridview": { "dstdatasourcepickupgridview": {
"title": "数据源选择表格视图", "title": "数据源选择表格视图",
"caption": "数据源", "caption": "数据源",
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
<div class='pull-right'> <div class='pull-right'>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem1_exportfile.visabled" :disabled="toolBarModels.tbitem1_exportfile.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem1_exportfile' }, $event)"> <i-button v-show="toolBarModels.tbitem1_export.visabled" :disabled="toolBarModels.tbitem1_export.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem1_export' }, $event)">
<i class=''></i> <i class=''></i>
<span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_exportfile.caption')}}</span> <span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_exportfile.tip')}}</div> <div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
...@@ -377,7 +377,7 @@ export default class MetaModelGridViewBase extends Vue { ...@@ -377,7 +377,7 @@ export default class MetaModelGridViewBase extends Vue {
* @memberof MetaModelGridView * @memberof MetaModelGridView
*/ */
public toolBarModels: any = { public toolBarModels: any = {
tbitem1_exportfile: { name: 'tbitem1_exportfile', actiontarget: 'NONE', caption: '导出文件', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'exportFile', target: 'MULTIKEY' } }, tbitem1_export: { name: 'tbitem1_export', actiontarget: 'NONE', caption: '模型导出', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'export', target: 'MULTIKEY' } },
tbitem2: { name: 'tbitem2', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem2: { name: 'tbitem2', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } }, tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
...@@ -755,8 +755,8 @@ export default class MetaModelGridViewBase extends Vue { ...@@ -755,8 +755,8 @@ export default class MetaModelGridViewBase extends Vue {
* @memberof MetaModelGridViewBase * @memberof MetaModelGridViewBase
*/ */
public toolbar_click($event: any, $event2?: any) { public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'tbitem1_exportfile')) { if (Object.is($event.tag, 'tbitem1_export')) {
this.toolbar_tbitem1_exportfile_click(null, '', $event2); this.toolbar_tbitem1_export_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem3')) { if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2); this.toolbar_tbitem3_click(null, '', $event2);
...@@ -908,7 +908,7 @@ export default class MetaModelGridViewBase extends Vue { ...@@ -908,7 +908,7 @@ export default class MetaModelGridViewBase extends Vue {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public toolbar_tbitem1_exportfile_click(params: any = {}, tag?: any, $event?: any) { public toolbar_tbitem1_export_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -926,7 +926,7 @@ export default class MetaModelGridViewBase extends Vue { ...@@ -926,7 +926,7 @@ export default class MetaModelGridViewBase extends Vue {
} }
// 界面行为 // 界面行为
const curUIService:MetaModelUIService = new MetaModelUIService(); const curUIService:MetaModelUIService = new MetaModelUIService();
curUIService.MetaModel_exportFile(datas,contextJO, paramJO, $event, xData,this,"MetaModel"); curUIService.MetaModel_export(datas,contextJO, paramJO, $event, xData,this,"MetaModel");
} }
/** /**
......
...@@ -97,8 +97,10 @@ export default class MetaModelUIServiceBase extends UIService { ...@@ -97,8 +97,10 @@ export default class MetaModelUIServiceBase extends UIService {
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'metamodels',component:'meta-model-pickup-grid-view'}); this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'metamodels',component:'meta-model-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'fileuploadoptionview',srfappde:'metamodels',component:'meta-model-file-upload-option-view'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'metamodels',component:'meta-model-pickup-view'}); this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'metamodels',component:'meta-model-pickup-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'metamodels',component:'meta-model-edit-view'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'metamodels',component:'meta-model-edit-view'});
this.allViewMap.set(':',{viewname:'importfile',srfappde:'metamodels',component:'meta-modelimport-file'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'metamodels',component:'meta-model-mpickup-view'}); this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'metamodels',component:'meta-model-mpickup-view'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'metamodels',component:'meta-model-grid-view'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'metamodels',component:'meta-model-grid-view'});
} }
...@@ -120,7 +122,7 @@ export default class MetaModelUIServiceBase extends UIService { ...@@ -120,7 +122,7 @@ export default class MetaModelUIServiceBase extends UIService {
} }
/** /**
* 导出文件 * 模型导出
* *
* @param {any[]} args 当前数据 * @param {any[]} args 当前数据
* @param {any} context 行为附加上下文 * @param {any} context 行为附加上下文
...@@ -131,7 +133,7 @@ export default class MetaModelUIServiceBase extends UIService { ...@@ -131,7 +133,7 @@ export default class MetaModelUIServiceBase extends UIService {
* @param {*} [srfParentDeName] 父实体名称 * @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>} * @returns {Promise<any>}
*/ */
public async MetaModel_exportFile(args: any[],context:any = {}, params:any = {}, $event?: any, xData?: any,actionContext?: any,srfParentDeName?:string){ public async MetaModel_export(args: any[],context:any = {}, params:any = {}, $event?: any, xData?: any,actionContext?: any,srfParentDeName?:string){
let data: any = {}; let data: any = {};
let parentContext:any = {}; let parentContext:any = {};
let parentViewParam:any = {}; let parentViewParam:any = {};
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[DA_BUILD]数据结构 --> <!--输出实体[DA_BUILD]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_build-68-1"> <changeSet author="root" id="tab-da_build-69-1">
<createTable tableName="IBZDABUILD"> <createTable tableName="IBZDABUILD">
<column name="BUILDID" remarks="" type="VARCHAR(100)"> <column name="BUILDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_BUILD_BUILDID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_BUILD_BUILDID"/>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<!--输出实体[DA_CHART]数据结构 --> <!--输出实体[DA_CHART]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_chart-22-2"> <changeSet author="root" id="tab-da_chart-22-2">
<createTable tableName="IBZDACHART"> <createTable tableName="IBZDACHART">
<column name="CHARTID" remarks="" type="VARCHAR(100)"> <column name="CHARTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_CHART_CHARTID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_CHART_CHARTID"/>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<!--输出实体[DA_METRIC]数据结构 --> <!--输出实体[DA_METRIC]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_metric-62-3"> <changeSet author="root" id="tab-da_metric-63-3">
<createTable tableName="IBZDAMETRIC"> <createTable tableName="IBZDAMETRIC">
<column name="DA_METRICID" remarks="" type="VARCHAR(100)"> <column name="DA_METRICID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_METRIC_DA_METRICID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_METRIC_DA_METRICID"/>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<!--输出实体[DA_REPORT]数据结构 --> <!--输出实体[DA_REPORT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-da_report-24-4"> <changeSet author="root" id="tab-da_report-24-4">
<createTable tableName="IBZDAREPORT"> <createTable tableName="IBZDAREPORT">
<column name="REPORTID" remarks="" type="VARCHAR(100)"> <column name="REPORTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_REPORT_REPORTID"/> <constraints primaryKey="true" primaryKeyName="PK_DA_REPORT_REPORTID"/>
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<!--输出实体[DST_DATASOURCE]数据结构 --> <!--输出实体[DST_DATASOURCE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_datasource-6-5"> <changeSet author="root" id="tab-dst_datasource-6-5">
<createTable tableName="IBZDATASOURCE"> <createTable tableName="IBZDATASOURCE">
<column name="DSID" remarks="" type="VARCHAR(100)"> <column name="DSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_DATASOURCE_DSID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_DATASOURCE_DSID"/>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<!--输出实体[DST_SYSTEM]数据结构 --> <!--输出实体[DST_SYSTEM]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_system-5-6"> <changeSet author="root" id="tab-dst_system-5-6">
<createTable tableName="IBZPSSYSTEM"> <createTable tableName="IBZPSSYSTEM">
<column name="PSSYSTEMID" remarks="" type="VARCHAR(100)"> <column name="PSSYSTEMID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_SYSTEM_PSSYSTEMID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_SYSTEM_PSSYSTEMID"/>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<!--输出实体[RU_EXECLOG]数据结构 --> <!--输出实体[RU_EXECLOG]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ru_execlog-31-7"> <changeSet author="root" id="tab-ru_execlog-31-7">
<createTable tableName="IBZRULELOG"> <createTable tableName="IBZRULELOG">
<column name="RU_EXECLOGID" remarks="" type="VARCHAR(100)"> <column name="RU_EXECLOGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RU_EXECLOG_RU_EXECLOGID"/> <constraints primaryKey="true" primaryKeyName="PK_RU_EXECLOG_RU_EXECLOGID"/>
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
<!--输出实体[RU_EXECRESULT]数据结构 --> <!--输出实体[RU_EXECRESULT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ru_execresult-46-8"> <changeSet author="root" id="tab-ru_execresult-46-8">
<createTable tableName="IBZRULERESULT"> <createTable tableName="IBZRULERESULT">
<column name="RU_EXECRESULTID" remarks="" type="VARCHAR(100)"> <column name="RU_EXECRESULTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RU_EXECRESULT_RU_EXECRESULT"/> <constraints primaryKey="true" primaryKeyName="PK_RU_EXECRESULT_RU_EXECRESULT"/>
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
<!--输出实体[META_DATASET]数据结构 --> <!--输出实体[META_DATASET]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_dataset-2-9"> <changeSet author="root" id="tab-meta_dataset-2-9">
<createTable tableName="IBZDATASET"> <createTable tableName="IBZDATASET">
<column name="DATASETID" remarks="" type="VARCHAR(100)"> <column name="DATASETID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_DATASET_DATASETID"/> <constraints primaryKey="true" primaryKeyName="PK_META_DATASET_DATASETID"/>
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
<!--输出实体[META_ENTITY]数据结构 --> <!--输出实体[META_ENTITY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_entity-13-10"> <changeSet author="root" id="tab-meta_entity-13-10">
<createTable tableName="IBZENTITY"> <createTable tableName="IBZENTITY">
<column name="ENTITYID" remarks="" type="VARCHAR(100)"> <column name="ENTITYID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/> <constraints primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/>
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
<!--输出实体[META_FIELD]数据结构 --> <!--输出实体[META_FIELD]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_field-7-11"> <changeSet author="root" id="tab-meta_field-7-11">
<createTable tableName="IBZFIELD"> <createTable tableName="IBZFIELD">
<column name="FIELDID" remarks="" type="VARCHAR(100)"> <column name="FIELDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/> <constraints primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/>
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
<!--输出实体[META_MODEL]数据结构 --> <!--输出实体[META_MODEL]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_model-29-12"> <changeSet author="root" id="tab-meta_model-34-12">
<createTable tableName="IBZMODEL"> <createTable tableName="IBZMODEL">
<column name="MODELID" remarks="" type="VARCHAR(100)"> <column name="MODELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/> <constraints primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
...@@ -354,7 +354,7 @@ ...@@ -354,7 +354,7 @@
<!--输出实体[META_MODULE]数据结构 --> <!--输出实体[META_MODULE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_module-7-13"> <changeSet author="root" id="tab-meta_module-7-13">
<createTable tableName="IBZMODULE"> <createTable tableName="IBZMODULE">
<column name="MODULEID" remarks="" type="VARCHAR(100)"> <column name="MODULEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_MODULE_MODULEID"/> <constraints primaryKey="true" primaryKeyName="PK_META_MODULE_MODULEID"/>
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
<!--输出实体[META_RELATION]数据结构 --> <!--输出实体[META_RELATION]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-meta_relation-6-14"> <changeSet author="root" id="tab-meta_relation-6-14">
<createTable tableName="IBZRELATION"> <createTable tableName="IBZRELATION">
<column name="RELATIONID" remarks="" type="VARCHAR(100)"> <column name="RELATIONID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_META_RELATION_RELATIONID"/> <constraints primaryKey="true" primaryKeyName="PK_META_RELATION_RELATIONID"/>
...@@ -404,7 +404,7 @@ ...@@ -404,7 +404,7 @@
<!--输出实体[RU_ENGINE]数据结构 --> <!--输出实体[RU_ENGINE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ru_engine-45-15"> <changeSet author="root" id="tab-ru_engine-45-15">
<createTable tableName="IBZRULEENGINE"> <createTable tableName="IBZRULEENGINE">
<column name="ENGINEID" remarks="" type="VARCHAR(100)"> <column name="ENGINEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RU_ENGINE_ENGINEID"/> <constraints primaryKey="true" primaryKeyName="PK_RU_ENGINE_ENGINEID"/>
...@@ -432,7 +432,7 @@ ...@@ -432,7 +432,7 @@
<!--输出实体[RU_ITEM]数据结构 --> <!--输出实体[RU_ITEM]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ru_item-78-16"> <changeSet author="root" id="tab-ru_item-79-16">
<createTable tableName="IBZRULE"> <createTable tableName="IBZRULE">
<column name="RULEID" remarks="" type="VARCHAR(100)"> <column name="RULEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_RU_ITEM_RULEID"/> <constraints primaryKey="true" primaryKeyName="PK_RU_ITEM_RULEID"/>
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
<!--输出实体[DA_BUILD]外键关系 --> <!--输出实体[DA_BUILD]外键关系 -->
<!--输出实体[DA_CHART]外键关系 --> <!--输出实体[DA_CHART]外键关系 -->
<!--输出实体[DA_METRIC]外键关系 --> <!--输出实体[DA_METRIC]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-da_metric-62-17"> <changeSet author="root" id="fk-da_metric-63-17">
<addForeignKeyConstraint baseColumnNames="BUILDID" baseTableName="IBZDAMETRIC" constraintName="DER1N_DA_METRIC_DA_BUILD_BUILD" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="BUILDID" referencedTableName="IBZDABUILD" validate="true"/> <addForeignKeyConstraint baseColumnNames="BUILDID" baseTableName="IBZDAMETRIC" constraintName="DER1N_DA_METRIC_DA_BUILD_BUILD" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="BUILDID" referencedTableName="IBZDABUILD" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[DA_REPORT]外键关系 --> <!--输出实体[DA_REPORT]外键关系 -->
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="oracle"> <sql id="Default" databaseId="oracle">
<![CDATA[ SELECT t1.BUILDID, t1.BUILDNAME, t1.BUILDSTATE, t1.LASTRUNTIME, t1.MODELID, t1.MODELNAME, t1.PROCESSED, t11.SYSTEMID, t1.TOTAL FROM IBZDABUILD t1 LEFT JOIN IBZMODEL t11 ON t1.MODELID = t11.MODELID <![CDATA[ SELECT t1.BUILDID, t1.BUILDNAME, t1.BUILDSTATE, t1.DADIMENSION, t1.LASTRUNTIME, t1.MODELID, t1.MODELNAME, t1.PROCESSED, t11.SYSTEMID, t1.TOTAL FROM IBZDABUILD t1 LEFT JOIN IBZMODEL t11 ON t1.MODELID = t11.MODELID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="oracle"> <sql id="Default" databaseId="oracle">
<![CDATA[ SELECT t1.BUILDID, t11.BUILDNAME, t1.CREATEDATE, t1.DA_METRICID, t1.DA_METRICNAME, t1.EXTOP, t1.METRICTYPE, t11.MODELID, t11.MODELNAME, t1.REFMETRIC, t1.UPDATEDATE FROM IBZDAMETRIC t1 LEFT JOIN IBZDABUILD t11 ON t1.BUILDID = t11.BUILDID <![CDATA[ SELECT t1.BUILDID, t11.BUILDNAME, t1.CREATEDATE, t1.DA_METRICID, t1.DA_METRICNAME, t1.EXTOP, t1.FIELDSET, t1.METRICTYPE, t11.MODELID, t11.MODELNAME, t1.REFMETRIC, t1.UPDATEDATE FROM IBZDAMETRIC t1 LEFT JOIN IBZDABUILD t11 ON t1.BUILDID = t11.BUILDID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册