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

lab_gzf 部署微服务应用

上级 9ae9068e
...@@ -9,6 +9,16 @@ ...@@ -9,6 +9,16 @@
"viewtag": "00fcbd6336b5d40a31a2c3d5c346d16c", "viewtag": "00fcbd6336b5d40a31a2c3d5c346d16c",
"memo": "" "memo": ""
}, },
"eamassettreeexpview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DETREEEXPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTreeExpView",
"viewfilename": "eamasset-tree-exp-view",
"viewtag": "075e8b706da4cd2328cf2239fd6f4d06",
"memo": ""
},
"eamlocationstateeditview": { "eamlocationstateeditview": {
"title": "功能位置状态信息", "title": "功能位置状态信息",
"caption": "功能位置状态", "caption": "功能位置状态",
...@@ -89,6 +99,16 @@ ...@@ -89,6 +99,16 @@
"viewtag": "30027967566375f388f110149cf48b49", "viewtag": "30027967566375f388f110149cf48b49",
"memo": "" "memo": ""
}, },
"eamasseteditview": {
"title": "资产编辑视图",
"caption": "资产",
"viewtype": "DEEDITVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetEditView",
"viewfilename": "eamasset-edit-view",
"viewtag": "3bac4846ece1082b8c3799d9a1fc7dde",
"memo": "系统自动添加"
},
"eamlocationstatemodelpickupview": { "eamlocationstatemodelpickupview": {
"title": "功能位置状态模型数据选择视图", "title": "功能位置状态模型数据选择视图",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -159,6 +179,16 @@ ...@@ -159,6 +179,16 @@
"viewtag": "6c2c69027dbbe13ab8d2732923487f59", "viewtag": "6c2c69027dbbe13ab8d2732923487f59",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamassetinfoview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetInfoView",
"viewfilename": "eamasset-info-view",
"viewtag": "6c816d46a07d56b2a9afca077d9bbfc3",
"memo": ""
},
"eamlocationstatemodeleditview": { "eamlocationstatemodeleditview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -299,6 +329,16 @@ ...@@ -299,6 +329,16 @@
"viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6", "viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"eamassetlocationassetgridview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetLocationAssetGridView",
"viewfilename": "eamasset-location-asset-grid-view",
"viewtag": "c6a93309b2a9d12617cdbaf29731d2a4",
"memo": ""
},
"eamlocationsummaryview": { "eamlocationsummaryview": {
"title": "功能位置数据看板视图", "title": "功能位置数据看板视图",
"caption": "功能位置", "caption": "功能位置",
...@@ -418,5 +458,15 @@ ...@@ -418,5 +458,15 @@
"viewfilename": "eamlocation-state-grid-view", "viewfilename": "eamlocation-state-grid-view",
"viewtag": "f7c04762f2a3e3026c909e6191a0998f", "viewtag": "f7c04762f2a3e3026c909e6191a0998f",
"memo": "" "memo": ""
},
"eamassetgridview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetGridView",
"viewfilename": "eamasset-grid-view",
"viewtag": "fc4b884f4116e498cafad375e0b6cb7d",
"memo": "系统自动添加"
} }
} }
\ No newline at end of file
...@@ -338,7 +338,7 @@ export default class AppPicker extends Vue { ...@@ -338,7 +338,7 @@ export default class AppPicker extends Vue {
query = ''; query = '';
} }
this.inputState = false; this.inputState = false;
Object.assign(_param, { query: query }); Object.assign(_param, { query: query, size: 1000 });
// 错误信息国际化 // 错误信息国际化
let error: string = (this.$t('components.appPicker.error') as any); let error: string = (this.$t('components.appPicker.error') as any);
let miss: string = (this.$t('components.appPicker.miss') as any); let miss: string = (this.$t('components.appPicker.miss') as any);
......
...@@ -18,14 +18,53 @@ export default { ...@@ -18,14 +18,53 @@ export default {
assetnumber: "资产编号", assetnumber: "资产编号",
}, },
views: { views: {
treeexpview: {
caption: "资产",
title: "资产信息",
},
editview: {
caption: "资产",
title: "资产编辑视图",
},
summaryview: { summaryview: {
caption: "资产", caption: "资产",
title: "资产数据看板视图", title: "资产数据看板视图",
}, },
infoview: {
caption: "资产",
title: "资产信息",
},
info_mainview: { info_mainview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
locationassetgridview: {
caption: "资产",
title: "资产信息",
},
gridview: {
caption: "资产",
title: "资产信息",
},
},
main_form: {
details: {
group1: "资产基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "资产标识",
srfmajortext: "资产名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
assetid: "资产标识",
},
uiactions: {
},
}, },
info_main_form: { info_main_form: {
details: { details: {
...@@ -49,4 +88,239 @@ export default { ...@@ -49,4 +88,239 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
passetname: "上级资产",
eamassetstatename: "资产状态",
},
uiactions: {
},
},
childgrid_grid: {
columns: {
passetname: "上级资产",
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
eamassetstatename: "资产状态",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem5: {
caption: "New",
tip: "New",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem10: {
caption: "Save",
tip: "Save",
},
tbitem12: {
caption: "Save And New",
tip: "Save And New",
},
tbitem11: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem18: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem19: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "New",
tip: "New",
},
tbitem21: {
caption: "-",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem22: {
caption: "-",
tip: "",
},
tbitem2: {
caption: "第一个记录",
tip: "第一个记录",
},
tbitem7: {
caption: "上一个记录",
tip: "上一个记录",
},
tbitem6: {
caption: "下一个记录",
tip: "下一个记录",
},
tbitem4: {
caption: "最后一个记录",
tip: "最后一个记录",
},
tbitem25: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Help",
tip: "Help",
},
},
childgridviewtoolbar_toolbar: {
tbitem5: {
caption: "New",
tip: "New",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "Filter",
tip: "Filter",
},
},
locationassetgridviewtoolbar_toolbar: {
tbitem5: {
caption: "New",
tip: "New",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "Edit",
tip: "Edit {0}",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "Filter",
tip: "Filter",
},
},
}; };
\ No newline at end of file
...@@ -17,14 +17,53 @@ export default { ...@@ -17,14 +17,53 @@ export default {
assetnumber: "资产编号", assetnumber: "资产编号",
}, },
views: { views: {
treeexpview: {
caption: "资产",
title: "资产信息",
},
editview: {
caption: "资产",
title: "资产编辑视图",
},
summaryview: { summaryview: {
caption: "资产", caption: "资产",
title: "资产数据看板视图", title: "资产数据看板视图",
}, },
infoview: {
caption: "资产",
title: "资产信息",
},
info_mainview: { info_mainview: {
caption: "资产", caption: "资产",
title: "资产信息", title: "资产信息",
}, },
locationassetgridview: {
caption: "资产",
title: "资产信息",
},
gridview: {
caption: "资产",
title: "资产信息",
},
},
main_form: {
details: {
group1: "资产基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "资产标识",
srfmajortext: "资产名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
assetid: "资产标识",
},
uiactions: {
},
}, },
info_main_form: { info_main_form: {
details: { details: {
...@@ -48,4 +87,239 @@ export default { ...@@ -48,4 +87,239 @@ export default {
uiactions: { uiactions: {
}, },
}, },
main_grid: {
columns: {
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
passetname: "上级资产",
eamassetstatename: "资产状态",
},
uiactions: {
},
},
childgrid_grid: {
columns: {
passetname: "上级资产",
assetnumber: "资产编号",
assetname: "资产名称",
eamassettypename: "资产类型",
eamlocationname: "功能位置",
eamassetstatename: "资产状态",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem5: {
caption: "新建",
tip: "新建",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "导出",
tip: "导出",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem10: {
caption: "保存",
tip: "保存",
},
tbitem12: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem11: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem18: {
caption: "-",
tip: "",
},
tbitem9: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem19: {
caption: "-",
tip: "",
},
tbitem5: {
caption: "新建",
tip: "新建",
},
tbitem21: {
caption: "-",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem22: {
caption: "-",
tip: "",
},
tbitem2: {
caption: "第一个记录",
tip: "第一个记录",
},
tbitem7: {
caption: "上一个记录",
tip: "上一个记录",
},
tbitem6: {
caption: "下一个记录",
tip: "下一个记录",
},
tbitem4: {
caption: "最后一个记录",
tip: "最后一个记录",
},
tbitem25: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "帮助",
tip: "帮助",
},
},
childgridviewtoolbar_toolbar: {
tbitem5: {
caption: "新建",
tip: "新建",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "导出",
tip: "导出",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "过滤",
tip: "过滤",
},
},
locationassetgridviewtoolbar_toolbar: {
tbitem5: {
caption: "新建",
tip: "新建",
},
seperator1: {
caption: "",
tip: "",
},
tbitem2: {
caption: "编辑",
tip: "编辑",
},
seperator2: {
caption: "",
tip: "",
},
tbitem1: {
caption: "拷贝",
tip: "拷贝",
},
tbitem15: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem3: {
caption: "导出",
tip: "导出",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem10: {
caption: "过滤",
tip: "过滤",
},
},
}; };
\ No newline at end of file
...@@ -276,6 +276,14 @@ export default { ...@@ -276,6 +276,14 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
locationassettree_treeview: {
nodes: {
all: "全部资产",
root: "默认根节点",
},
uiactions: {
},
},
locationtree_treeview: { locationtree_treeview: {
nodes: { nodes: {
root: "默认根节点", root: "默认根节点",
......
...@@ -275,6 +275,14 @@ export default { ...@@ -275,6 +275,14 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
locationassettree_treeview: {
nodes: {
all: "全部资产",
root: "默认根节点",
},
uiactions: {
},
},
locationtree_treeview: { locationtree_treeview: {
nodes: { nodes: {
root: "默认根节点", root: "默认根节点",
......
...@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetStateGridView", "viewname": "EAMAssetStateGridView",
"viewtag": "00fcbd6336b5d40a31a2c3d5c346d16c" "viewtag": "00fcbd6336b5d40a31a2c3d5c346d16c"
}, },
"eamassettreeexpview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DETREEEXPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetTreeExpView",
"viewtag": "075e8b706da4cd2328cf2239fd6f4d06"
},
"eamlocationstateeditview": { "eamlocationstateeditview": {
"title": "功能位置状态信息", "title": "功能位置状态信息",
"caption": "功能位置状态", "caption": "功能位置状态",
...@@ -79,6 +87,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -79,6 +87,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetStateModelGridView", "viewname": "EAMAssetStateModelGridView",
"viewtag": "30027967566375f388f110149cf48b49" "viewtag": "30027967566375f388f110149cf48b49"
}, },
"eamasseteditview": {
"title": "资产编辑视图",
"caption": "资产",
"viewtype": "DEEDITVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetEditView",
"viewtag": "3bac4846ece1082b8c3799d9a1fc7dde"
},
"eamlocationstatemodelpickupview": { "eamlocationstatemodelpickupview": {
"title": "功能位置状态模型数据选择视图", "title": "功能位置状态模型数据选择视图",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -135,6 +151,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -135,6 +151,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMAssetStateModelEditView", "viewname": "EAMAssetStateModelEditView",
"viewtag": "6c2c69027dbbe13ab8d2732923487f59" "viewtag": "6c2c69027dbbe13ab8d2732923487f59"
}, },
"eamassetinfoview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetInfoView",
"viewtag": "6c816d46a07d56b2a9afca077d9bbfc3"
},
"eamlocationstatemodeleditview": { "eamlocationstatemodeleditview": {
"title": "功能位置状态模型信息", "title": "功能位置状态模型信息",
"caption": "功能位置状态模型", "caption": "功能位置状态模型",
...@@ -247,6 +271,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -247,6 +271,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "EAMLocationStateModelPickupGridView", "viewname": "EAMLocationStateModelPickupGridView",
"viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6" "viewtag": "bb8b4b03a77ed63b8eb4ef3d62b669a6"
}, },
"eamassetlocationassetgridview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetLocationAssetGridView",
"viewtag": "c6a93309b2a9d12617cdbaf29731d2a4"
},
"eamlocationsummaryview": { "eamlocationsummaryview": {
"title": "功能位置数据看板视图", "title": "功能位置数据看板视图",
"caption": "功能位置", "caption": "功能位置",
...@@ -342,6 +374,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -342,6 +374,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewmodule": "Location", "viewmodule": "Location",
"viewname": "EAMLocationStateGridView", "viewname": "EAMLocationStateGridView",
"viewtag": "f7c04762f2a3e3026c909e6191a0998f" "viewtag": "f7c04762f2a3e3026c909e6191a0998f"
},
"eamassetgridview": {
"title": "资产信息",
"caption": "资产",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Asset",
"viewname": "EAMAssetGridView",
"viewtag": "fc4b884f4116e498cafad375e0b6cb7d"
} }
}]; }];
}); });
\ No newline at end of file
...@@ -1208,4 +1208,17 @@ div::-webkit-scrollbar-thumb { ...@@ -1208,4 +1208,17 @@ div::-webkit-scrollbar-thumb {
} }
} }
} }
// 列表导航栏样式
.app-list-exp-bar {
> .ivu-split-horizontal {
> .left-pane {
padding-right: 8px;
> .container-header {
margin-bottom: 6px;
}
}
}
}
@import './user.less'; @import './user.less';
\ No newline at end of file
...@@ -89,8 +89,13 @@ export default class EAMAssetUIServiceBase extends UIService { ...@@ -89,8 +89,13 @@ export default class EAMAssetUIServiceBase extends UIService {
* @memberof EAMAssetUIServiceBase * @memberof EAMAssetUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'treeexpview',srfappde:'eamassets'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'summaryview',srfappde:'eamassets'}); this.allViewMap.set(':',{viewname:'summaryview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'infoview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'info_mainview',srfappde:'eamassets'}); this.allViewMap.set(':',{viewname:'info_mainview',srfappde:'eamassets'});
this.allViewMap.set(':',{viewname:'locationassetgridview',srfappde:'eamassets'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'eamassets'});
} }
/** /**
......
<split id="treeexpviewtreeexpbar" class='app-tree-exp-bar' v-model="split" mode="horizontal" @on-move-end="onSplitChange.apply(_self, arguments)"> <split id="treeexpviewtreeexpbar" class='app-tree-exp-bar' v-model="split" mode="horizontal" @on-move-end="onSplitChange.apply(_self, arguments)">
<div class="app-tree-exp-bar-left" slot='left'> <div class="app-tree-exp-bar-left enable-search" slot='left'>
<div class='search-content'>
<i-input :search="true"
@on-change="($event) => { this.srfnodefilter = $event.target.value; }"
@on-search="onSearch">
</i-input>
</div>
<div class='tree-exp-content'> <div class='tree-exp-content'>
<view_treeexpbar_tree <view_treeexpbar_tree
:viewState="viewState" :viewState="viewState"
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<!--输出实体[EAMASSET]数据结构 --> <!--输出实体[EAMASSET]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamasset-33-6"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamasset-51-6">
<createTable tableName="ASSET"> <createTable tableName="ASSET">
<column name="ASSETID" remarks="" type="VARCHAR(100)"> <column name="ASSETID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_EAMASSET_ASSETID"/> <constraints primaryKey="true" primaryKeyName="PK_EAMASSET_ASSETID"/>
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
<!--输出实体[EAMLOCATION]数据结构 --> <!--输出实体[EAMLOCATION]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-eamlocation-83-11"> <changeSet author="a_LAB01_e85d8801c" id="tab-eamlocation-88-11">
<createTable tableName="EAMLOCATION"> <createTable tableName="EAMLOCATION">
<column name="EAMLOCATIONID" remarks="" type="VARCHAR(100)"> <column name="EAMLOCATIONID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_EAMLOCATION_EAMLOCATIONID"/> <constraints primaryKey="true" primaryKeyName="PK_EAMLOCATION_EAMLOCATIONID"/>
...@@ -581,16 +581,16 @@ ...@@ -581,16 +581,16 @@
<addForeignKeyConstraint baseColumnNames="EAMAPPLYSTATEMODELID" baseTableName="EAMAPPLYTYPE" constraintName="DER1N_EAMAPPLYTYPE_EAMAPPLYSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMAPPLYSTATEMODELID" referencedTableName="EAMAPPLYSTATEMODEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMAPPLYSTATEMODELID" baseTableName="EAMAPPLYTYPE" constraintName="DER1N_EAMAPPLYTYPE_EAMAPPLYSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMAPPLYSTATEMODELID" referencedTableName="EAMAPPLYSTATEMODEL" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMASSET]外键关系 --> <!--输出实体[EAMASSET]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-33-31"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-51-31">
<addForeignKeyConstraint baseColumnNames="EAMASSETSTATEID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSETSTATE_E" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEID" referencedTableName="EAMASSETSTATE" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMASSETSTATEID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSETSTATE_E" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEID" referencedTableName="EAMASSETSTATE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-33-32"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-51-32">
<addForeignKeyConstraint baseColumnNames="EAMASSETTYPEID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSETTYPE_EA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETTYPEID" referencedTableName="EAMASSETTYPE" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMASSETTYPEID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSETTYPE_EA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETTYPEID" referencedTableName="EAMASSETTYPE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-33-33"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-51-33">
<addForeignKeyConstraint baseColumnNames="PASSETID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSET_PASSET" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ASSETID" referencedTableName="ASSET" validate="true"/> <addForeignKeyConstraint baseColumnNames="PASSETID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMASSET_PASSET" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ASSETID" referencedTableName="ASSET" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-33-34"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamasset-51-34">
<addForeignKeyConstraint baseColumnNames="EAMLOCATIONID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMLOCATION_EAM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONID" referencedTableName="EAMLOCATION" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMLOCATIONID" baseTableName="ASSET" constraintName="DER1N_EAMASSET_EAMLOCATION_EAM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONID" referencedTableName="EAMLOCATION" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMASSETSTATE]外键关系 --> <!--输出实体[EAMASSETSTATE]外键关系 -->
...@@ -604,13 +604,13 @@ ...@@ -604,13 +604,13 @@
<addForeignKeyConstraint baseColumnNames="EAMASSETSTATEMODELID" baseTableName="EAMASSETTYPE" constraintName="DER1N_EAMASSETTYPE_EAMASSETSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEMODELID" referencedTableName="EAMASSETSTATEMODEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMASSETSTATEMODELID" baseTableName="EAMASSETTYPE" constraintName="DER1N_EAMASSETTYPE_EAMASSETSTA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMASSETSTATEMODELID" referencedTableName="EAMASSETSTATEMODEL" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMLOCATION]外键关系 --> <!--输出实体[EAMLOCATION]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-83-38"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-88-38">
<addForeignKeyConstraint baseColumnNames="EAMLOCATIONSTATEID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATIONS" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONSTATEID" referencedTableName="EAMLOCATIONSTATE" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMLOCATIONSTATEID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATIONS" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONSTATEID" referencedTableName="EAMLOCATIONSTATE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-83-39"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-88-39">
<addForeignKeyConstraint baseColumnNames="EAMLOCATIONTYPEID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATIONT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONTYPEID" referencedTableName="EAMLOCATIONTYPE" validate="true"/> <addForeignKeyConstraint baseColumnNames="EAMLOCATIONTYPEID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATIONT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONTYPEID" referencedTableName="EAMLOCATIONTYPE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-83-40"> <changeSet author="a_LAB01_e85d8801c" id="fk-eamlocation-88-40">
<addForeignKeyConstraint baseColumnNames="PEAMLOCATIONID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATION_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONID" referencedTableName="EAMLOCATION" validate="true"/> <addForeignKeyConstraint baseColumnNames="PEAMLOCATIONID" baseTableName="EAMLOCATION" constraintName="DER1N_EAMLOCATION_EAMLOCATION_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EAMLOCATIONID" referencedTableName="EAMLOCATION" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[EAMLOCATIONSTATE]外键关系 --> <!--输出实体[EAMLOCATIONSTATE]外键关系 -->
......
...@@ -70,6 +70,12 @@ ...@@ -70,6 +70,12 @@
<![CDATA[ SELECT t1.`ASSETID`, t1.`ASSETNAME`, t1.`ASSETNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EAMASSETSTATEID`, t31.`EAMASSETSTATENAME`, t1.`EAMASSETTYPEID`, t11.`EAMASSETTYPENAME`, t1.`EAMLOCATIONID`, t21.`EAMLOCATIONNAME`, t1.`PASSETID`, t41.`ASSETNAME` AS `PASSETNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `ASSET` t1 LEFT JOIN EAMASSETTYPE t11 ON t1.EAMASSETTYPEID = t11.EAMASSETTYPEID LEFT JOIN EAMLOCATION t21 ON t1.EAMLOCATIONID = t21.EAMLOCATIONID LEFT JOIN EAMASSETSTATE t31 ON t1.EAMASSETSTATEID = t31.EAMASSETSTATEID LEFT JOIN ASSET t41 ON t1.PASSETID = t41.ASSETID <![CDATA[ SELECT t1.`ASSETID`, t1.`ASSETNAME`, t1.`ASSETNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EAMASSETSTATEID`, t31.`EAMASSETSTATENAME`, t1.`EAMASSETTYPEID`, t11.`EAMASSETTYPENAME`, t1.`EAMLOCATIONID`, t21.`EAMLOCATIONNAME`, t1.`PASSETID`, t41.`ASSETNAME` AS `PASSETNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `ASSET` t1 LEFT JOIN EAMASSETTYPE t11 ON t1.EAMASSETTYPEID = t11.EAMASSETTYPEID LEFT JOIN EAMLOCATION t21 ON t1.EAMLOCATIONID = t21.EAMLOCATIONID LEFT JOIN EAMASSETSTATE t31 ON t1.EAMASSETSTATEID = t31.EAMASSETSTATEID LEFT JOIN ASSET t41 ON t1.PASSETID = t41.ASSETID
]]> ]]>
</sql> </sql>
<!--数据查询[LocationAsset]-->
<sql id="LocationAsset" databaseId="mysql">
<![CDATA[ SELECT t1.`ASSETID`, t1.`ASSETNAME`, t1.`ASSETNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EAMASSETSTATEID`, t31.`EAMASSETSTATENAME`, t1.`EAMASSETTYPEID`, t11.`EAMASSETTYPENAME`, t1.`EAMLOCATIONID`, t21.`EAMLOCATIONNAME`, t1.`PASSETID`, t41.`ASSETNAME` AS `PASSETNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `ASSET` t1 LEFT JOIN EAMASSETTYPE t11 ON t1.EAMASSETTYPEID = t11.EAMASSETTYPEID LEFT JOIN EAMLOCATION t21 ON t1.EAMLOCATIONID = t21.EAMLOCATIONID LEFT JOIN EAMASSETSTATE t31 ON t1.EAMASSETSTATEID = t31.EAMASSETSTATEID LEFT JOIN ASSET t41 ON t1.PASSETID = t41.ASSETID
WHERE ( t1.`EAMLOCATIONID` = #{srf.datacontext.eamlocationid} )
]]>
</sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ASSETID`, t1.`ASSETNAME`, t1.`ASSETNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EAMASSETSTATEID`, t31.`EAMASSETSTATENAME`, t1.`EAMASSETTYPEID`, t11.`EAMASSETTYPENAME`, t1.`EAMLOCATIONID`, t21.`EAMLOCATIONNAME`, t1.`PASSETID`, t41.`ASSETNAME` AS `PASSETNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `ASSET` t1 LEFT JOIN EAMASSETTYPE t11 ON t1.EAMASSETTYPEID = t11.EAMASSETTYPEID LEFT JOIN EAMLOCATION t21 ON t1.EAMLOCATIONID = t21.EAMLOCATIONID LEFT JOIN EAMASSETSTATE t31 ON t1.EAMASSETSTATEID = t31.EAMASSETSTATEID LEFT JOIN ASSET t41 ON t1.PASSETID = t41.ASSETID <![CDATA[ SELECT t1.`ASSETID`, t1.`ASSETNAME`, t1.`ASSETNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EAMASSETSTATEID`, t31.`EAMASSETSTATENAME`, t1.`EAMASSETTYPEID`, t11.`EAMASSETTYPENAME`, t1.`EAMLOCATIONID`, t21.`EAMLOCATIONNAME`, t1.`PASSETID`, t41.`ASSETNAME` AS `PASSETNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `ASSET` t1 LEFT JOIN EAMASSETTYPE t11 ON t1.EAMASSETTYPEID = t11.EAMASSETTYPEID LEFT JOIN EAMLOCATION t21 ON t1.EAMLOCATIONID = t21.EAMLOCATIONID LEFT JOIN EAMASSETSTATE t31 ON t1.EAMASSETSTATEID = t31.EAMASSETSTATEID LEFT JOIN ASSET t41 ON t1.PASSETID = t41.ASSETID
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册