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

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

上级 cdf8c4ba
......@@ -104,14 +104,14 @@ function getLocaleResourceBase(){
},
},
gridviewtoolbar_toolbar: {
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem1_import: {
caption: commonLogic.appcommonhandle("模型导入",null),
tip: commonLogic.appcommonhandle("模型导入",null),
},
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -104,14 +104,14 @@ function getLocaleResourceBase(){
},
},
gridviewtoolbar_toolbar: {
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem1_import: {
caption: commonLogic.appcommonhandle("模型导入",null),
tip: commonLogic.appcommonhandle("模型导入",null),
},
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -104,14 +104,14 @@ function getLocaleResourceBase(){
},
},
gridviewtoolbar_toolbar: {
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem1_import: {
caption: commonLogic.appcommonhandle("模型导入",null),
tip: commonLogic.appcommonhandle("模型导入",null),
},
tbitem1_export: {
caption: commonLogic.appcommonhandle("模型导出",null),
tip: commonLogic.appcommonhandle("模型导出",null),
},
tbitem2: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
......
......@@ -13,18 +13,18 @@
<div class='pull-right'>
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<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-button v-show="toolBarModels.tbitem1_import.visabled" :disabled="toolBarModels.tbitem1_import.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem1_import' }, $event)">
<i class=''></i>
<span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.caption')}}</span>
<span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_import.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.tip')}}</div>
<div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_import.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem1_import.visabled" :disabled="toolBarModels.tbitem1_import.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem1_import' }, $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>
<span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_import.caption')}}</span>
<span class='caption'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_import.tip')}}</div>
<div slot='content'>{{$t('entities.metamodel.gridviewtoolbar_toolbar.tbitem1_export.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
......@@ -384,10 +384,10 @@ export default class MetaModelGridViewBase extends Vue {
* @memberof MetaModelGridView
*/
public toolBarModels: any = {
tbitem1_export: { name: 'tbitem1_export', actiontarget: 'NONE', caption: '模型导出', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'export', target: 'MULTIKEY' } },
tbitem1_import: { name: 'tbitem1_import', actiontarget: 'NONE', caption: '模型导入', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'import', target: 'NONE' } },
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: { } },
tbitem3: { name: 'tbitem3', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
......@@ -764,12 +764,12 @@ export default class MetaModelGridViewBase extends Vue {
* @memberof MetaModelGridViewBase
*/
public toolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'tbitem1_export')) {
this.toolbar_tbitem1_export_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem1_import')) {
this.toolbar_tbitem1_import_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem1_export')) {
this.toolbar_tbitem1_export_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem3')) {
this.toolbar_tbitem3_click(null, '', $event2);
}
......@@ -920,7 +920,7 @@ export default class MetaModelGridViewBase extends Vue {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem1_export_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem1_import_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -938,7 +938,7 @@ export default class MetaModelGridViewBase extends Vue {
}
// 界面行为
const curUIService:MetaModelUIService = new MetaModelUIService();
curUIService.MetaModel_export(datas,contextJO, paramJO, $event, xData,this,"MetaModel");
curUIService.MetaModel_import(datas,contextJO, paramJO, $event, xData,this,"MetaModel");
}
/**
......@@ -949,7 +949,7 @@ export default class MetaModelGridViewBase extends Vue {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem1_import_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem1_export_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -967,7 +967,7 @@ export default class MetaModelGridViewBase extends Vue {
}
// 界面行为
const curUIService:MetaModelUIService = new MetaModelUIService();
curUIService.MetaModel_import(datas,contextJO, paramJO, $event, xData,this,"MetaModel");
curUIService.MetaModel_export(datas,contextJO, paramJO, $event, xData,this,"MetaModel");
}
/**
......
......@@ -10,6 +10,9 @@
<select id="selectById" resultMap="TableSyncResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1 ) t1 where syncid=#{id}]]>
</select>
<select id="selectById" resultMap="TableSyncResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1 ) t1 where syncid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap id="TableSyncResultMap" type="cn.ibizlab.core.lite.domain.TableSync" autoMapping="true">
......@@ -65,6 +68,11 @@
<![CDATA[ SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`DSID`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`ETLTIMESTAMP`, t1.`ISENABLE`, t1.`LASTENDTIME`, t1.`LASTREAD`, t1.`LASTRUNRESULT`, t1.`LASTRUNTIME`, t1.`LASTWRITE`, t1.`MAPPINGCFG`, t1.`RUNCRON`, t1.`RUNORDER`, t1.`SRCDSID`, t1.`SRCENTITYID`, t1.`SRCENTITYNAME`, t1.`SRCEXP`, t1.`SRCSYSTEMID`, t1.`SYNCGROUP`, t1.`SYNCID`, t1.`SYNCNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZTABLESYNC` t1
......@@ -75,5 +83,10 @@
<![CDATA[ SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.DSID, t1.ENTITYID, t1.ENTITYNAME, t1.ETLTIMESTAMP, t1.ISENABLE, t1.LASTENDTIME, t1.LASTREAD, t1.LASTRUNRESULT, t1.LASTRUNTIME, t1.LASTWRITE, t1.MAPPINGCFG, t1.RUNCRON, t1.RUNORDER, t1.SRCDSID, t1.SRCENTITYID, t1.SRCENTITYNAME, t1.SRCEXP, t1.SRCSYSTEMID, t1.SYNCGROUP, t1.SYNCID, t1.SYNCNAME, t1.SYSTEMID, t1.UPDATEDATE FROM IBZTABLESYNC t1
]]>
</sql>
</mapper>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册