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

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

上级 4aca00bc
...@@ -10,6 +10,7 @@ export default { ...@@ -10,6 +10,7 @@ export default {
entity_id: "实体标识", entity_id: "实体标识",
entity_name: "主实体", entity_name: "主实体",
config: "配置", config: "配置",
updatedate: "最后修改时间",
}, },
views: { views: {
gridview: { gridview: {
...@@ -29,6 +30,7 @@ export default { ...@@ -29,6 +30,7 @@ export default {
details: { details: {
group1: "组件基本信息", group1: "组件基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "部件标识", srfkey: "部件标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -9,6 +9,7 @@ export default { ...@@ -9,6 +9,7 @@ export default {
entity_id: "实体标识", entity_id: "实体标识",
entity_name: "主实体", entity_name: "主实体",
config: "配置", config: "配置",
updatedate: "最后修改时间",
}, },
views: { views: {
gridview: { gridview: {
...@@ -28,6 +29,7 @@ export default { ...@@ -28,6 +29,7 @@ export default {
details: { details: {
group1: "组件基本信息", group1: "组件基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "部件标识", srfkey: "部件标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -9,6 +9,7 @@ export default { ...@@ -9,6 +9,7 @@ export default {
parentid: "父路径标识", parentid: "父路径标识",
meta: "meta", meta: "meta",
component: "组件", component: "组件",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -28,6 +29,7 @@ export default { ...@@ -28,6 +29,7 @@ export default {
details: { details: {
group1: "路由基本信息", group1: "路由基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "路径标识", srfkey: "路径标识",
srfmajortext: "路径名称", srfmajortext: "路径名称",
......
...@@ -8,6 +8,7 @@ export default { ...@@ -8,6 +8,7 @@ export default {
parentid: "父路径标识", parentid: "父路径标识",
meta: "meta", meta: "meta",
component: "组件", component: "组件",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -27,6 +28,7 @@ export default { ...@@ -27,6 +28,7 @@ export default {
details: { details: {
group1: "路由基本信息", group1: "路由基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "路径标识", srfkey: "路径标识",
srfmajortext: "路径名称", srfmajortext: "路径名称",
......
...@@ -9,6 +9,7 @@ export default { ...@@ -9,6 +9,7 @@ export default {
entity_id: "实体标识", entity_id: "实体标识",
entity_name: "主实体", entity_name: "主实体",
config: "配置", config: "配置",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupgridview: { pickupgridview: {
...@@ -28,6 +29,7 @@ export default { ...@@ -28,6 +29,7 @@ export default {
details: { details: {
group1: "页面基本信息", group1: "页面基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -8,6 +8,7 @@ export default { ...@@ -8,6 +8,7 @@ export default {
entity_id: "实体标识", entity_id: "实体标识",
entity_name: "主实体", entity_name: "主实体",
config: "配置", config: "配置",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupgridview: { pickupgridview: {
...@@ -27,6 +28,7 @@ export default { ...@@ -27,6 +28,7 @@ export default {
details: { details: {
group1: "页面基本信息", group1: "页面基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -14,6 +14,8 @@ export default { ...@@ -14,6 +14,8 @@ export default {
module_name: "模块", module_name: "模块",
ext_params: "扩展参数", ext_params: "扩展参数",
show_order: "排序", show_order: "排序",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupview: { pickupview: {
...@@ -44,6 +46,7 @@ export default { ...@@ -44,6 +46,7 @@ export default {
tabpanel1: "", tabpanel1: "",
group1: "实体基本信息", group1: "实体基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "实体名", srfmajortext: "实体名",
......
...@@ -13,6 +13,8 @@ export default { ...@@ -13,6 +13,8 @@ export default {
module_name: "模块", module_name: "模块",
ext_params: "扩展参数", ext_params: "扩展参数",
show_order: "排序", show_order: "排序",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupview: { pickupview: {
...@@ -43,6 +45,7 @@ export default { ...@@ -43,6 +45,7 @@ export default {
tabpanel1: "", tabpanel1: "",
group1: "实体基本信息", group1: "实体基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "实体名", srfmajortext: "实体名",
......
...@@ -32,6 +32,8 @@ export default { ...@@ -32,6 +32,8 @@ export default {
extension_field: "扩展属性", extension_field: "扩展属性",
is_enable_audit: "审计", is_enable_audit: "审计",
show_order: "排序", show_order: "排序",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupview: { pickupview: {
...@@ -62,6 +64,7 @@ export default { ...@@ -62,6 +64,7 @@ export default {
grouppanel3: "分组面板", grouppanel3: "分组面板",
group1: "属性基本信息", group1: "属性基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "属性标识", srfkey: "属性标识",
srfmajortext: "属性名称", srfmajortext: "属性名称",
......
...@@ -31,6 +31,8 @@ export default { ...@@ -31,6 +31,8 @@ export default {
extension_field: "扩展属性", extension_field: "扩展属性",
is_enable_audit: "审计", is_enable_audit: "审计",
show_order: "排序", show_order: "排序",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
pickupview: { pickupview: {
...@@ -61,6 +63,7 @@ export default { ...@@ -61,6 +63,7 @@ export default {
grouppanel3: "分组面板", grouppanel3: "分组面板",
group1: "属性基本信息", group1: "属性基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "属性标识", srfkey: "属性标识",
srfmajortext: "属性名称", srfmajortext: "属性名称",
......
...@@ -5,8 +5,11 @@ export default { ...@@ -5,8 +5,11 @@ export default {
name: "名称", name: "名称",
code_name: "代码名称", code_name: "代码名称",
config: "配置", config: "配置",
system_id: "系统标识",
materialized_view: "物化视图", materialized_view: "物化视图",
refresh_time: "刷新时间", refresh_time: "刷新时间",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -22,6 +25,7 @@ export default { ...@@ -22,6 +25,7 @@ export default {
details: { details: {
group1: "模型基本信息", group1: "模型基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -4,8 +4,11 @@ export default { ...@@ -4,8 +4,11 @@ export default {
name: "名称", name: "名称",
code_name: "代码名称", code_name: "代码名称",
config: "配置", config: "配置",
system_id: "系统标识",
materialized_view: "物化视图", materialized_view: "物化视图",
refresh_time: "刷新时间", refresh_time: "刷新时间",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -21,6 +24,7 @@ export default { ...@@ -21,6 +24,7 @@ export default {
details: { details: {
group1: "模型基本信息", group1: "模型基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "标识", srfkey: "标识",
srfmajortext: "名称", srfmajortext: "名称",
......
...@@ -12,6 +12,8 @@ export default { ...@@ -12,6 +12,8 @@ export default {
nested_name: "嵌套代码名称", nested_name: "嵌套代码名称",
system_id: "系统", system_id: "系统",
lookups: "Lookup", lookups: "Lookup",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -40,6 +42,7 @@ export default { ...@@ -40,6 +42,7 @@ export default {
lookup: "", lookup: "",
group1: "实体关系基本信息", group1: "实体关系基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "关系标识", srfkey: "关系标识",
srfmajortext: "关系名称", srfmajortext: "关系名称",
......
...@@ -11,6 +11,8 @@ export default { ...@@ -11,6 +11,8 @@ export default {
nested_name: "嵌套代码名称", nested_name: "嵌套代码名称",
system_id: "系统", system_id: "系统",
lookups: "Lookup", lookups: "Lookup",
createdate: "创建时间",
updatedate: "最后修改时间",
}, },
views: { views: {
editview: { editview: {
...@@ -39,6 +41,7 @@ export default { ...@@ -39,6 +41,7 @@ export default {
lookup: "", lookup: "",
group1: "实体关系基本信息", group1: "实体关系基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "最后修改时间",
srforikey: "", srforikey: "",
srfkey: "关系标识", srfkey: "关系标识",
srfmajortext: "关系名称", srfmajortext: "关系名称",
......
...@@ -523,6 +523,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -523,6 +523,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -726,6 +727,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -726,6 +727,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '组件基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '组件基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -761,6 +764,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -761,6 +764,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -1025,6 +1040,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1025,6 +1040,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -436,6 +436,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -436,6 +436,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -626,6 +627,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -626,6 +627,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '路由基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstrouter.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '路由基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstrouter.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -659,6 +662,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -659,6 +662,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -910,6 +925,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -910,6 +925,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -460,6 +460,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -460,6 +460,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -650,6 +651,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -650,6 +651,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '页面基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstview.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '页面基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.dstview.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -683,6 +686,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -683,6 +686,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -934,6 +949,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -934,6 +949,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -603,6 +603,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -603,6 +603,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -811,6 +812,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -811,6 +812,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '实体基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metaentity.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '实体基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metaentity.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -844,6 +847,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -844,6 +847,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -1100,6 +1115,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1100,6 +1115,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -54,6 +54,12 @@ export default class PickupViewpickupviewpanelModel { ...@@ -54,6 +54,12 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'show_order', name: 'show_order',
}, },
{
name: 'createdate',
},
{
name: 'updatedate',
},
] ]
} }
......
...@@ -707,6 +707,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -707,6 +707,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -994,6 +995,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -994,6 +995,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '属性基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '属性基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metafield.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1065,6 +1068,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1065,6 +1068,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -1557,6 +1572,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1557,6 +1572,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (Object.is(name, '') || Object.is(name, 'fieldtype') || Object.is(name, 'physicalfield')) { if (Object.is(name, '') || Object.is(name, 'fieldtype') || Object.is(name, 'physicalfield')) {
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -108,6 +108,12 @@ export default class PickupViewpickupviewpanelModel { ...@@ -108,6 +108,12 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'show_order', name: 'show_order',
}, },
{
name: 'createdate',
},
{
name: 'updatedate',
},
] ]
} }
......
...@@ -430,6 +430,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -430,6 +430,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public data: any = { public data: any = {
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -612,6 +613,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -612,6 +613,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '模型基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metamodel.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '模型基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metamodel.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -637,6 +640,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -637,6 +640,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -836,6 +851,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -836,6 +851,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -25,6 +25,11 @@ export default class MainModel { ...@@ -25,6 +25,11 @@ export default class MainModel {
prop: 'srffrontuf', prop: 'srffrontuf',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -26,6 +26,11 @@ export default class MainModel { ...@@ -26,6 +26,11 @@ export default class MainModel {
] ]
}else{ }else{
return [ return [
{
name: 'systemid',
prop: 'system_id',
dataType: 'PICKUP',
},
{ {
name: 'modelname', name: 'modelname',
prop: 'name', prop: 'name',
......
...@@ -514,6 +514,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -514,6 +514,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public data: any = { public data: any = {
lookup: null, lookup: null,
srfupdatedate: null,
srforikey: null, srforikey: null,
srfkey: null, srfkey: null,
srfmajortext: null, srfmajortext: null,
...@@ -715,6 +716,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -715,6 +716,8 @@ export default class MainBase extends Vue implements ControlInterface {
group1: new FormGroupPanelModel({ caption: '实体关系基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metarelationship.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) group1: new FormGroupPanelModel({ caption: '实体关系基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.metarelationship.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '最后修改时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srforikey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srforikey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -750,6 +753,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -750,6 +753,18 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
}; };
/**
* 监控表单属性 srfupdatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.srfupdatedate')
onSrfupdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'srfupdatedate', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 srforikey 值 * 监控表单属性 srforikey 值
* *
...@@ -1014,6 +1029,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1014,6 +1029,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
......
...@@ -29,6 +29,11 @@ export default class MainModel { ...@@ -29,6 +29,11 @@ export default class MainModel {
name: 'lookup', name: 'lookup',
dataType:'FORMPART' dataType:'FORMPART'
}, },
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{ {
name: 'srforikey', name: 'srforikey',
}, },
......
...@@ -48,6 +48,12 @@ export default class PickupViewpickupviewpanelModel { ...@@ -48,6 +48,12 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'lookups', name: 'lookups',
}, },
{
name: 'createdate',
},
{
name: 'updatedate',
},
] ]
} }
......
...@@ -110,6 +110,15 @@ public class DstComponent extends EntityMP implements Serializable { ...@@ -110,6 +110,15 @@ public class DstComponent extends EntityMP implements Serializable {
@JSONField(name = "config") @JSONField(name = "config")
@JsonProperty("config") @JsonProperty("config")
private String config; private String config;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* *
......
...@@ -102,6 +102,15 @@ public class DstRouter extends EntityMP implements Serializable { ...@@ -102,6 +102,15 @@ public class DstRouter extends EntityMP implements Serializable {
@JSONField(name = "component") @JSONField(name = "component")
@JsonProperty("component") @JsonProperty("component")
private String component; private String component;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* *
......
...@@ -103,6 +103,15 @@ public class DstView extends EntityMP implements Serializable { ...@@ -103,6 +103,15 @@ public class DstView extends EntityMP implements Serializable {
@JSONField(name = "config") @JSONField(name = "config")
@JsonProperty("config") @JsonProperty("config")
private String config; private String config;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* *
......
...@@ -262,6 +262,24 @@ public class MetaField extends EntityMP implements Serializable { ...@@ -262,6 +262,24 @@ public class MetaField extends EntityMP implements Serializable {
@JSONField(name = "show_order") @JSONField(name = "show_order")
@JsonProperty("show_order") @JsonProperty("show_order")
private Integer showOrder; private Integer showOrder;
/**
* 创建时间
*/
@DEField(preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "createdate", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* *
......
...@@ -74,6 +74,13 @@ public class MetaModel extends EntityMP implements Serializable { ...@@ -74,6 +74,13 @@ public class MetaModel extends EntityMP implements Serializable {
@JSONField(name = "config") @JSONField(name = "config")
@JsonProperty("config") @JsonProperty("config")
private String config; private String config;
/**
* 系统标识
*/
@TableField(value = "systemid")
@JSONField(name = "system_id")
@JsonProperty("system_id")
private String systemId;
/** /**
* 物化视图 * 物化视图
*/ */
...@@ -89,6 +96,32 @@ public class MetaModel extends EntityMP implements Serializable { ...@@ -89,6 +96,32 @@ public class MetaModel extends EntityMP implements Serializable {
@JSONField(name = "refresh_time", format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "refresh_time", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("refresh_time") @JsonProperty("refresh_time")
private Timestamp refreshTime; private Timestamp refreshTime;
/**
* 创建时间
*/
@DEField(preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "createdate", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/**
* 系统
*/
@JsonIgnore
@JSONField(serialize = false)
@TableField(exist = false)
private cn.ibizlab.core.lite.domain.DstSystem system;
...@@ -116,6 +149,14 @@ public class MetaModel extends EntityMP implements Serializable { ...@@ -116,6 +149,14 @@ public class MetaModel extends EntityMP implements Serializable {
this.modify("modelcfg", config); this.modify("modelcfg", config);
} }
/**
* 设置 [系统标识]
*/
public void setSystemId(String systemId) {
this.systemId = systemId;
this.modify("systemid", systemId);
}
/** /**
* 设置 [物化视图] * 设置 [物化视图]
*/ */
......
...@@ -116,6 +116,24 @@ public class MetaRelationship extends EntityMP implements Serializable { ...@@ -116,6 +116,24 @@ public class MetaRelationship extends EntityMP implements Serializable {
@JSONField(name = "system_id") @JSONField(name = "system_id")
@JsonProperty("system_id") @JsonProperty("system_id")
private String systemId; private String systemId;
/**
* 创建时间
*/
@DEField(preType = DEPredefinedFieldType.CREATEDATE)
@TableField(value = "createdate", fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "createdate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 最后修改时间
*/
@DEField(preType = DEPredefinedFieldType.UPDATEDATE)
@TableField(value = "updatedate")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* *
......
...@@ -55,6 +55,13 @@ public class MetaModelSearchContext extends QueryWrapperContext<MetaModel> { ...@@ -55,6 +55,13 @@ public class MetaModelSearchContext extends QueryWrapperContext<MetaModel> {
this.getSearchCond().like("codename", n_codename_like); this.getSearchCond().like("codename", n_codename_like);
} }
} }
private String n_systemid_eq;//[系统标识]
public void setN_systemid_eq(String n_systemid_eq) {
this.n_systemid_eq = n_systemid_eq;
if(!ObjectUtils.isEmpty(this.n_systemid_eq)){
this.getSearchCond().eq("systemid", n_systemid_eq);
}
}
/** /**
* 启用快速搜索 * 启用快速搜索
......
...@@ -67,4 +67,6 @@ public interface MetaModelMapper extends BaseMapper<MetaModel> { ...@@ -67,4 +67,6 @@ public interface MetaModelMapper extends BaseMapper<MetaModel> {
@Delete("${sql}") @Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param); boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
List<MetaModel> selectBySystemId(@Param("pssystemid") Serializable pssystemid);
} }
...@@ -42,6 +42,9 @@ public interface IMetaModelService extends IService<MetaModel> { ...@@ -42,6 +42,9 @@ public interface IMetaModelService extends IService<MetaModel> {
@CacheEvict(value = "metamodel",allEntries = true) @CacheEvict(value = "metamodel",allEntries = true)
void saveBatch(List<MetaModel> list); void saveBatch(List<MetaModel> list);
Page<MetaModel> searchDefault(MetaModelSearchContext context); Page<MetaModel> searchDefault(MetaModelSearchContext context);
List<MetaModel> selectBySystemId(String pssystemid);
@CacheEvict(value = "metamodel", allEntries = true)
void removeBySystemId(String pssystemid);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -65,6 +65,9 @@ public class DstSystemServiceImpl extends ServiceImpl<DstSystemMapper, DstSystem ...@@ -65,6 +65,9 @@ public class DstSystemServiceImpl extends ServiceImpl<DstSystemMapper, DstSystem
protected cn.ibizlab.core.lite.service.IMetaEntityService metaentityService; protected cn.ibizlab.core.lite.service.IMetaEntityService metaentityService;
@Autowired @Autowired
@Lazy @Lazy
protected cn.ibizlab.core.lite.service.IMetaModelService metamodelService;
@Autowired
@Lazy
protected cn.ibizlab.core.lite.service.IMetaModuleService metamoduleService; protected cn.ibizlab.core.lite.service.IMetaModuleService metamoduleService;
protected int batchSize = 500; protected int batchSize = 500;
......
...@@ -48,6 +48,9 @@ import org.springframework.util.StringUtils; ...@@ -48,6 +48,9 @@ import org.springframework.util.StringUtils;
@Service("MetaModelServiceImpl") @Service("MetaModelServiceImpl")
public class MetaModelServiceImpl extends ServiceImpl<MetaModelMapper, MetaModel> implements IMetaModelService { public class MetaModelServiceImpl extends ServiceImpl<MetaModelMapper, MetaModel> implements IMetaModelService {
@Autowired
@Lazy
protected cn.ibizlab.core.lite.service.IDstSystemService dstsystemService;
protected int batchSize = 500; protected int batchSize = 500;
...@@ -158,6 +161,15 @@ public class MetaModelServiceImpl extends ServiceImpl<MetaModelMapper, MetaModel ...@@ -158,6 +161,15 @@ public class MetaModelServiceImpl extends ServiceImpl<MetaModelMapper, MetaModel
} }
@Override
public List<MetaModel> selectBySystemId(String pssystemid) {
return baseMapper.selectBySystemId(pssystemid);
}
@Override
public void removeBySystemId(String pssystemid) {
this.remove(new QueryWrapper<MetaModel>().eq("systemid",pssystemid));
}
/** /**
* 查询集合 数据集 * 查询集合 数据集
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[BLADE_VISUAL]数据结构 --> <!--输出实体[BLADE_VISUAL]数据结构 -->
<changeSet author="root" id="tab-blade_visual-55-1"> <changeSet author="a_A_5d9d78509" id="tab-blade_visual-55-1">
<createTable tableName="blade_visual"> <createTable tableName="blade_visual">
<column name="ID" remarks="" type="BIGINT"> <column name="ID" remarks="" type="BIGINT">
<constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_ID"/> <constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_ID"/>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<!--输出实体[BLADE_VISUAL_CATEGORY]数据结构 --> <!--输出实体[BLADE_VISUAL_CATEGORY]数据结构 -->
<changeSet author="root" id="tab-blade_visual_category-23-2"> <changeSet author="a_A_5d9d78509" id="tab-blade_visual_category-23-2">
<createTable tableName="blade_visual_category"> <createTable tableName="blade_visual_category">
<column name="ID" remarks="" type="BIGINT"> <column name="ID" remarks="" type="BIGINT">
<constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_CATEGORY_ID"/> <constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_CATEGORY_ID"/>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<!--输出实体[BLADE_VISUAL_CONFIG]数据结构 --> <!--输出实体[BLADE_VISUAL_CONFIG]数据结构 -->
<changeSet author="root" id="tab-blade_visual_config-18-3"> <changeSet author="a_A_5d9d78509" id="tab-blade_visual_config-18-3">
<createTable tableName="blade_visual_config"> <createTable tableName="blade_visual_config">
<column name="ID" remarks="" type="BIGINT"> <column name="ID" remarks="" type="BIGINT">
<constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_CONFIG_ID"/> <constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_CONFIG_ID"/>
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<!--输出实体[BLADE_VISUAL_MAP]数据结构 --> <!--输出实体[BLADE_VISUAL_MAP]数据结构 -->
<changeSet author="root" id="tab-blade_visual_map-18-4"> <changeSet author="a_A_5d9d78509" id="tab-blade_visual_map-18-4">
<createTable tableName="blade_visual_map"> <createTable tableName="blade_visual_map">
<column name="ID" remarks="" type="BIGINT"> <column name="ID" remarks="" type="BIGINT">
<constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_MAP_ID"/> <constraints primaryKey="true" primaryKeyName="PK_BLADE_VISUAL_MAP_ID"/>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<!--输出实体[DST_COMPONENT]数据结构 --> <!--输出实体[DST_COMPONENT]数据结构 -->
<changeSet author="root" id="tab-dst_component-56-5"> <changeSet author="a_A_5d9d78509" id="tab-dst_component-58-5">
<createTable tableName="IBZCOMPONENT"> <createTable tableName="IBZCOMPONENT">
<column name="CID" remarks="" type="VARCHAR(100)"> <column name="CID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_COMPONENT_CID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_COMPONENT_CID"/>
...@@ -105,12 +105,14 @@ ...@@ -105,12 +105,14 @@
</column> </column>
<column name="CFG" remarks="" type="TEXT(1048576)"> <column name="CFG" remarks="" type="TEXT(1048576)">
</column> </column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[DST_CONFIG]数据结构 --> <!--输出实体[DST_CONFIG]数据结构 -->
<changeSet author="root" id="tab-dst_config-32-6"> <changeSet author="a_A_5d9d78509" id="tab-dst_config-32-6">
<createTable tableName="IBZCFG"> <createTable tableName="IBZCFG">
<column name="CFGID" remarks="" type="VARCHAR(100)"> <column name="CFGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_CONFIG_CFGID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_CONFIG_CFGID"/>
...@@ -132,7 +134,7 @@ ...@@ -132,7 +134,7 @@
<!--输出实体[DST_DATASOURCE]数据结构 --> <!--输出实体[DST_DATASOURCE]数据结构 -->
<changeSet author="root" id="tab-dst_datasource-55-7"> <changeSet author="a_A_5d9d78509" id="tab-dst_datasource-59-7">
<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"/>
...@@ -150,7 +152,7 @@ ...@@ -150,7 +152,7 @@
<!--输出实体[DST_ROUTER]数据结构 --> <!--输出实体[DST_ROUTER]数据结构 -->
<changeSet author="root" id="tab-dst_router-35-8"> <changeSet author="a_A_5d9d78509" id="tab-dst_router-37-8">
<createTable tableName="IBZROUTER"> <createTable tableName="IBZROUTER">
<column name="ROUTERID" remarks="" type="VARCHAR(100)"> <column name="ROUTERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_ROUTER_ROUTERID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_ROUTER_ROUTERID"/>
...@@ -169,12 +171,14 @@ ...@@ -169,12 +171,14 @@
</column> </column>
<column name="COMPONENT" remarks="" type="VARCHAR(2000)"> <column name="COMPONENT" remarks="" type="VARCHAR(2000)">
</column> </column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[DST_SYSTEM]数据结构 --> <!--输出实体[DST_SYSTEM]数据结构 -->
<changeSet author="root" id="tab-dst_system-38-9"> <changeSet author="a_A_5d9d78509" id="tab-dst_system-40-9">
<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"/>
...@@ -194,7 +198,7 @@ ...@@ -194,7 +198,7 @@
<!--输出实体[DST_VIEW]数据结构 --> <!--输出实体[DST_VIEW]数据结构 -->
<changeSet author="root" id="tab-dst_view-43-10"> <changeSet author="a_A_5d9d78509" id="tab-dst_view-45-10">
<createTable tableName="IBZVIEW"> <createTable tableName="IBZVIEW">
<column name="VIEWID" remarks="" type="VARCHAR(100)"> <column name="VIEWID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/>
...@@ -211,12 +215,14 @@ ...@@ -211,12 +215,14 @@
</column> </column>
<column name="CFG" remarks="" type="TEXT(1048576)"> <column name="CFG" remarks="" type="TEXT(1048576)">
</column> </column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[META_DATASET]数据结构 --> <!--输出实体[META_DATASET]数据结构 -->
<changeSet author="root" id="tab-meta_dataset-32-11"> <changeSet author="a_A_5d9d78509" id="tab-meta_dataset-32-11">
<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"/>
...@@ -238,7 +244,7 @@ ...@@ -238,7 +244,7 @@
<!--输出实体[META_ENTITY]数据结构 --> <!--输出实体[META_ENTITY]数据结构 -->
<changeSet author="root" id="tab-meta_entity-89-12"> <changeSet author="a_A_5d9d78509" id="tab-meta_entity-93-12">
<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"/>
...@@ -261,12 +267,16 @@ ...@@ -261,12 +267,16 @@
</column> </column>
<column name="SHOWORDER" remarks="" type="INT"> <column name="SHOWORDER" remarks="" type="INT">
</column> </column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[META_FIELD]数据结构 --> <!--输出实体[META_FIELD]数据结构 -->
<changeSet author="root" id="tab-meta_field-147-13"> <changeSet author="a_A_5d9d78509" id="tab-meta_field-151-13">
<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"/>
...@@ -319,6 +329,10 @@ ...@@ -319,6 +329,10 @@
</column> </column>
<column name="SHOWORDER" remarks="" type="INT"> <column name="SHOWORDER" remarks="" type="INT">
</column> </column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
...@@ -326,7 +340,7 @@ ...@@ -326,7 +340,7 @@
<!--输出实体[META_MODEL]数据结构 --> <!--输出实体[META_MODEL]数据结构 -->
<changeSet author="root" id="tab-meta_model-30-14"> <changeSet author="a_A_5d9d78509" id="tab-meta_model-40-14">
<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"/>
...@@ -337,16 +351,22 @@ ...@@ -337,16 +351,22 @@
</column> </column>
<column name="MODELCFG" remarks="" type="TEXT(1048576)"> <column name="MODELCFG" remarks="" type="TEXT(1048576)">
</column> </column>
<column name="SYSTEMID" remarks="" type="VARCHAR(100)">
</column>
<column name="MATERIALIZEDVIEW" remarks="" type="VARCHAR(100)"> <column name="MATERIALIZEDVIEW" remarks="" type="VARCHAR(100)">
</column> </column>
<column name="REFRESHTIME" remarks="" type="DATETIME"> <column name="REFRESHTIME" remarks="" type="DATETIME">
</column> </column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[META_MODULE]数据结构 --> <!--输出实体[META_MODULE]数据结构 -->
<changeSet author="root" id="tab-meta_module-28-15"> <changeSet author="a_A_5d9d78509" id="tab-meta_module-28-15">
<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"/>
...@@ -364,7 +384,7 @@ ...@@ -364,7 +384,7 @@
<!--输出实体[META_RELATION]数据结构 --> <!--输出实体[META_RELATION]数据结构 -->
<changeSet author="root" id="tab-meta_relation-98-16"> <changeSet author="a_A_5d9d78509" id="tab-meta_relation-102-16">
<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"/>
...@@ -387,6 +407,10 @@ ...@@ -387,6 +407,10 @@
</column> </column>
<column name="LOOKUP" remarks="" type="TEXT(1000)"> <column name="LOOKUP" remarks="" type="TEXT(1000)">
</column> </column>
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
<column name="UPDATEDATE" remarks="" type="DATETIME">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="DstComponentResultMap" databaseId="mysql"> <select id="selectById" resultMap="DstComponentResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`CFG`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where cid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`CFG`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where cid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="DstComponentResultMap" databaseId="oracle"> <select id="selectById" resultMap="DstComponentResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.APPID, t1.CFG, t1.CID, t1.CNAME, t1.CODENAME, t1.CTYPE, t1.ENTITYID, t11.ENTITYNAME, t1.SYSTEMID FROM IBZCOMPONENT t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where cid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.APPID, t1.CFG, t1.CID, t1.CNAME, t1.CODENAME, t1.CTYPE, t1.ENTITYID, t11.ENTITYNAME, t1.SYSTEMID FROM IBZCOMPONENT t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where cid=#{id}]]>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`APPID`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`CFG`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`APPID`, t1.`CFG`, t1.`CID`, t1.`CNAME`, t1.`CODENAME`, t1.`CTYPE`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZCOMPONENT` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="DstRouterResultMap" databaseId="mysql"> <select id="selectById" resultMap="DstRouterResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`COMPONENT`, t1.`META`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID` FROM `IBZROUTER` t1 ) t1 where routerid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`COMPONENT`, t1.`META`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZROUTER` t1 ) t1 where routerid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="DstRouterResultMap" databaseId="oracle"> <select id="selectById" resultMap="DstRouterResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.APPID, t1.COMPONENT, t1.META, t1.PARENTID, t1.ROUTERID, t1.ROUTERNAME, t1.ROUTERPATH, t1.SYSTEMID FROM IBZROUTER t1 ) t1 where routerid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.APPID, t1.COMPONENT, t1.META, t1.PARENTID, t1.ROUTERID, t1.ROUTERNAME, t1.ROUTERPATH, t1.SYSTEMID FROM IBZROUTER t1 ) t1 where routerid=#{id}]]>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`COMPONENT`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID` FROM `IBZROUTER` t1 <![CDATA[ SELECT t1.`APPID`, t1.`COMPONENT`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZROUTER` t1
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`COMPONENT`, t1.`META`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID` FROM `IBZROUTER` t1 <![CDATA[ SELECT t1.`APPID`, t1.`COMPONENT`, t1.`META`, t1.`PARENTID`, t1.`ROUTERID`, t1.`ROUTERNAME`, t1.`ROUTERPATH`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZROUTER` t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="DstViewResultMap" databaseId="mysql"> <select id="selectById" resultMap="DstViewResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`CFG`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where viewid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`APPID`, t1.`CFG`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where viewid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="DstViewResultMap" databaseId="oracle"> <select id="selectById" resultMap="DstViewResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.APPID, t1.CFG, t1.ENTITYID, t11.ENTITYNAME, t1.SYSTEMID, t1.VIEWID, t1.VIEWNAME, t1.VIEWPATH FROM IBZVIEW t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where viewid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.APPID, t1.CFG, t1.ENTITYID, t11.ENTITYNAME, t1.SYSTEMID, t1.VIEWID, t1.VIEWNAME, t1.VIEWPATH FROM IBZVIEW t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where viewid=#{id}]]>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`APPID`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`APPID`, t1.`CFG`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`APPID`, t1.`CFG`, t1.`ENTITYID`, t11.`ENTITYNAME`, t1.`SYSTEMID`, t1.`UPDATEDATE`, t1.`VIEWID`, t1.`VIEWNAME`, t1.`VIEWPATH` FROM `IBZVIEW` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="MetaEntityResultMap" databaseId="mysql"> <select id="selectById" resultMap="MetaEntityResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME`, t1.`UPDATEDATE` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MetaEntityResultMap" databaseId="oracle"> <select id="selectById" resultMap="MetaEntityResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DSID, t21.DSNAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXTPARAMS, t1.LOGICNAME, t1.MODULEID, t31.MODULENAME, t1.SHOWORDER, t1.SYSTEMID, t11.PSSYSTEMNAME AS SYSTEMNAME, t1.TABLENAME FROM IBZENTITY t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DSID, t21.DSNAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXTPARAMS, t1.LOGICNAME, t1.MODULEID, t31.MODULENAME, t1.SHOWORDER, t1.SYSTEMID, t11.PSSYSTEMNAME AS SYSTEMNAME, t1.TABLENAME FROM IBZENTITY t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME`, t1.`UPDATEDATE` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME`, t1.`UPDATEDATE` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="MetaFieldResultMap" databaseId="mysql"> <select id="selectById" resultMap="MetaFieldResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY`, t1.`UPDATEDATE` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MetaFieldResultMap" databaseId="oracle"> <select id="selectById" resultMap="MetaFieldResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DATALENGTH, t1.DATAPRECI, t1.DATATYPE, t1.DICT, t11.CODENAME AS ENTITYCODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXPRESSION, t1.EXTENSIONFIELD, t1.FIELDID, t1.FIELDLOGICNAME, t1.FIELDNAME, concat(t1.FIELDNAME,'-',t1.FIELDLOGICNAME,'[',t1.ENTITYNAME,']') AS FIELDSHOWNAME, t1.FIELDTYPE, concat(t1.ENTITYNAME,'.',t1.FIELDNAME) AS FIELDUNINAME, t1.ISENABLEAUDIT, t1.KEYFIELD, t1.MAJORFIELD, t1.NULLABLE, t1.PHYSICALFIELD, t1.PREDEFINED, t21.REFENTITYNAME, t1.REFFIELDID, t1.REFFIELDNAME, t21.CODENAME AS RELATIONCODENAME, t1.RELATIONID, t1.RELATIONNAME, t1.SHOWORDER, t11.SYSTEMID, t1.UNIONKEY FROM IBZFIELD t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DATALENGTH, t1.DATAPRECI, t1.DATATYPE, t1.DICT, t11.CODENAME AS ENTITYCODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXPRESSION, t1.EXTENSIONFIELD, t1.FIELDID, t1.FIELDLOGICNAME, t1.FIELDNAME, concat(t1.FIELDNAME,'-',t1.FIELDLOGICNAME,'[',t1.ENTITYNAME,']') AS FIELDSHOWNAME, t1.FIELDTYPE, concat(t1.ENTITYNAME,'.',t1.FIELDNAME) AS FIELDUNINAME, t1.ISENABLEAUDIT, t1.KEYFIELD, t1.MAJORFIELD, t1.NULLABLE, t1.PHYSICALFIELD, t1.PREDEFINED, t21.REFENTITYNAME, t1.REFFIELDID, t1.REFFIELDNAME, t21.CODENAME AS RELATIONCODENAME, t1.RELATIONID, t1.RELATIONNAME, t1.SHOWORDER, t11.SYSTEMID, t1.UNIONKEY FROM IBZFIELD t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID ) t1 where fieldid=#{id}]]>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY`, t1.`UPDATEDATE` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`DATALENGTH`, t1.`DATAPRECI`, t1.`DATATYPE`, t1.`DICT`, t11.`CODENAME` AS `ENTITYCODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXPRESSION`, t1.`EXTENSIONFIELD`, t1.`FIELDID`, t1.`FIELDLOGICNAME`, t1.`FIELDNAME`, concat(t1.`FIELDNAME`,'-',t1.`FIELDLOGICNAME`,'[',t1.`ENTITYNAME`,']') AS `FIELDSHOWNAME`, t1.`FIELDTYPE`, concat(t1.`ENTITYNAME`,'.',t1.`FIELDNAME`) AS `FIELDUNINAME`, t1.`ISENABLEAUDIT`, t1.`KEYFIELD`, t1.`MAJORFIELD`, t1.`NULLABLE`, t1.`PHYSICALFIELD`, t1.`PREDEFINED`, t21.`REFENTITYNAME`, t1.`REFFIELDID`, t1.`REFFIELDNAME`, t21.`CODENAME` AS `RELATIONCODENAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`SHOWORDER`, t11.`SYSTEMID`, t1.`UNIONKEY`, t1.`UPDATEDATE` FROM `IBZFIELD` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID LEFT JOIN IBZRELATION t21 ON t1.RELATIONID = t21.RELATIONID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="MetaModelResultMap" databaseId="mysql"> <select id="selectById" resultMap="MetaModelResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`MODELCFG`, t1.`MODELID`, t1.`MODELNAME` FROM `IBZMODEL` t1 ) t1 where modelid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`MATERIALIZEDVIEW`, t1.`MODELCFG`, t1.`MODELID`, t1.`MODELNAME`, t1.`REFRESHTIME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZMODEL` t1 ) t1 where modelid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MetaModelResultMap" databaseId="oracle"> <select id="selectById" resultMap="MetaModelResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.MATERIALIZEDVIEW, t1.MODELCFG, t1.MODELID, t1.MODELNAME, t1.REFRESHTIME FROM IBZMODEL t1 ) t1 where modelid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CODENAME, t1.MATERIALIZEDVIEW, t1.MODELCFG, t1.MODELID, t1.MODELNAME, t1.REFRESHTIME FROM IBZMODEL t1 ) t1 where modelid=#{id}]]>
...@@ -19,10 +19,20 @@ ...@@ -19,10 +19,20 @@
<id property="id" column="modelid" /><!--主键字段映射--> <id property="id" column="modelid" /><!--主键字段映射-->
<result property="name" column="modelname" /> <result property="name" column="modelname" />
<result property="config" column="modelcfg" /> <result property="config" column="modelcfg" />
<result property="systemId" column="systemid" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="system" javaType="cn.ibizlab.core.lite.domain.DstSystem" column="systemid" select="cn.ibizlab.core.lite.mapper.DstSystemMapper.selectById" fetchType="lazy"></association>
</resultMap> </resultMap>
<!--关系实体暴露select方法供主实体通过外键查询关系实体数据[实体关系名称:DER1N_META_MODEL_DST_SYSTEM_SYSTEMID] -->
<select id="selectBySystemId" resultMap="MetaModelResultMap">
select t1.* from (
<include refid="Default" />
) t1
where systemid=#{pssystemid}
</select>
<!--数据集合[Default]--> <!--数据集合[Default]-->
<select id="searchDefault" parameterType="cn.ibizlab.core.lite.filter.MetaModelSearchContext" resultMap="MetaModelResultMap"> <select id="searchDefault" parameterType="cn.ibizlab.core.lite.filter.MetaModelSearchContext" resultMap="MetaModelResultMap">
...@@ -35,7 +45,7 @@ ...@@ -35,7 +45,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`MODELID`, t1.`MODELNAME` FROM `IBZMODEL` t1 <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`MATERIALIZEDVIEW`, t1.`MODELID`, t1.`MODELNAME`, t1.`REFRESHTIME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZMODEL` t1
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -50,7 +60,7 @@ ...@@ -50,7 +60,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`MODELCFG`, t1.`MODELID`, t1.`MODELNAME` FROM `IBZMODEL` t1 <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`MATERIALIZEDVIEW`, t1.`MODELCFG`, t1.`MODELID`, t1.`MODELNAME`, t1.`REFRESHTIME`, t1.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZMODEL` t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="MetaRelationshipResultMap" databaseId="mysql"> <select id="selectById" resultMap="MetaRelationshipResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOOKUP`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where relationid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOOKUP`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where relationid=#{id}]]>
</select> </select>
<select id="selectById" resultMap="MetaRelationshipResultMap" databaseId="oracle"> <select id="selectById" resultMap="MetaRelationshipResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.LOOKUP, t1.NESTEDNAME, t1.REFENTITYID, t1.REFENTITYNAME, t1.RELATIONID, t1.RELATIONNAME, t1.RELTYPE, t11.SYSTEMID FROM IBZRELATION t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where relationid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.CODENAME, t1.ENTITYID, t1.ENTITYNAME, t1.LOOKUP, t1.NESTEDNAME, t1.REFENTITYID, t1.REFENTITYNAME, t1.RELATIONID, t1.RELATIONNAME, t1.RELTYPE, t11.SYSTEMID FROM IBZRELATION t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID ) t1 where relationid=#{id}]]>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[Default]--> <!--数据查询[Default]-->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOOKUP`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID <![CDATA[ SELECT t1.`CODENAME`, t1.`CREATEDATE`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOOKUP`, t1.`NESTEDNAME`, t1.`REFENTITYID`, t1.`REFENTITYNAME`, t1.`RELATIONID`, t1.`RELATIONNAME`, t1.`RELTYPE`, t11.`SYSTEMID`, t1.`UPDATEDATE` FROM `IBZRELATION` t1 LEFT JOIN IBZENTITY t11 ON t1.ENTITYID = t11.ENTITYID
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
...@@ -888,6 +888,20 @@ ...@@ -888,6 +888,20 @@
"key_field":0, "key_field":0,
"show_order":10, "show_order":10,
"major_field":0 "major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"DstComponent",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -1362,6 +1376,20 @@ ...@@ -1362,6 +1376,20 @@
"key_field":0, "key_field":0,
"show_order":11, "show_order":11,
"major_field":0 "major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"DstRouter",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -1537,6 +1565,12 @@ ...@@ -1537,6 +1565,12 @@
"entity_name":"META_ENTITY", "entity_name":"META_ENTITY",
"ref_entity_name":"DST_SYSTEM" "ref_entity_name":"DST_SYSTEM"
}, },
{"name":"DER1N_META_MODEL_DST_SYSTEM_SYSTEMID",
"relation_type":"DER1N",
"code_name":"System",
"entity_name":"META_MODEL",
"ref_entity_name":"DST_SYSTEM"
},
{"name":"DER1N_META_MODULE_DST_SYSTEM_SYSTEMID", {"name":"DER1N_META_MODULE_DST_SYSTEM_SYSTEMID",
"relation_type":"DER1N", "relation_type":"DER1N",
"code_name":"System", "code_name":"System",
...@@ -1688,6 +1722,20 @@ ...@@ -1688,6 +1722,20 @@
"key_field":0, "key_field":0,
"show_order":11, "show_order":11,
"major_field":0 "major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"DstView",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -2061,6 +2109,34 @@ ...@@ -2061,6 +2109,34 @@
"key_field":0, "key_field":0,
"show_order":49, "show_order":49,
"major_field":0 "major_field":0
},
{
"fieldname":"CREATEDATE" ,
"codename":"CreateDate",
"field_logic_name":"创建时间",
"entity_name":"MetaEntity",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"CREATEDATE",
"key_field":0,
"show_order":100,
"major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"MetaEntity",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -2607,6 +2683,34 @@ ...@@ -2607,6 +2683,34 @@
"key_field":0, "key_field":0,
"show_order":49, "show_order":49,
"major_field":0 "major_field":0
},
{
"fieldname":"CREATEDATE" ,
"codename":"CreateDate",
"field_logic_name":"创建时间",
"entity_name":"MetaField",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"CREATEDATE",
"key_field":0,
"show_order":100,
"major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"MetaField",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -2789,6 +2893,24 @@ ...@@ -2789,6 +2893,24 @@
"major_field":0 "major_field":0
}, },
{ {
"fieldname":"SYSTEMID" ,
"codename":"System_id",
"field_logic_name":"系统标识",
"entity_name":"MetaModel",
"ref_de":"DST_SYSTEM",
"ref_field_name":"PSSYSTEMID",
"relation_name":"DER1N_META_MODEL_DST_SYSTEM_SYSTEMID",
"relation_codename":"System",
"field_type":"PICKUP",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":6,
"major_field":0
},
{
"fieldname":"MATERIALIZEDVIEW" , "fieldname":"MATERIALIZEDVIEW" ,
"codename":"Materialized_view", "codename":"Materialized_view",
"field_logic_name":"物化视图", "field_logic_name":"物化视图",
...@@ -2815,11 +2937,45 @@ ...@@ -2815,11 +2937,45 @@
"key_field":0, "key_field":0,
"show_order":12, "show_order":12,
"major_field":0 "major_field":0
},
{
"fieldname":"CREATEDATE" ,
"codename":"CreateDate",
"field_logic_name":"创建时间",
"entity_name":"MetaModel",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"CREATEDATE",
"key_field":0,
"show_order":100,
"major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"MetaModel",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
], ],
"parentEntitys":[ "parentEntitys":[
{"name":"DER1N_META_MODEL_DST_SYSTEM_SYSTEMID",
"relation_type":"DER1N",
"code_name":"System",
"entity_name":"META_MODEL",
"ref_entity_name":"DST_SYSTEM"
}
] ]
} }
, ,
...@@ -3113,6 +3269,34 @@ ...@@ -3113,6 +3269,34 @@
"key_field":0, "key_field":0,
"show_order":11, "show_order":11,
"major_field":0 "major_field":0
},
{
"fieldname":"CREATEDATE" ,
"codename":"CreateDate",
"field_logic_name":"创建时间",
"entity_name":"MetaRelationship",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"CREATEDATE",
"key_field":0,
"show_order":100,
"major_field":0
},
{
"fieldname":"UPDATEDATE" ,
"codename":"UpdateDate",
"field_logic_name":"最后修改时间",
"entity_name":"MetaRelationship",
"field_type":"DATETIME",
"nullable":1,
"physical_field":1,
"data_type":"DATETIME",
"predefined":"UPDATEDATE",
"key_field":0,
"show_order":101,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
......
...@@ -110,6 +110,15 @@ public class DstComponentDTO extends DTOBase implements Serializable { ...@@ -110,6 +110,15 @@ public class DstComponentDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
private String config; private String config;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [CNAME] * 设置 [CNAME]
......
...@@ -101,6 +101,15 @@ public class DstRouterDTO extends DTOBase implements Serializable { ...@@ -101,6 +101,15 @@ public class DstRouterDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 2000, message = "内容长度必须小于等于[2000]") @Size(min = 0, max = 2000, message = "内容长度必须小于等于[2000]")
private String component; private String component;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [ROUTERNAME] * 设置 [ROUTERNAME]
......
...@@ -101,6 +101,15 @@ public class DstViewDTO extends DTOBase implements Serializable { ...@@ -101,6 +101,15 @@ public class DstViewDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
private String config; private String config;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [VIEWNAME] * 设置 [VIEWNAME]
......
...@@ -145,6 +145,24 @@ public class MetaEntityDTO extends DTOBase implements Serializable { ...@@ -145,6 +145,24 @@ public class MetaEntityDTO extends DTOBase implements Serializable {
@JsonProperty("show_order") @JsonProperty("show_order")
private Integer showOrder; private Integer showOrder;
/**
* 属性 [CREATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [ENTITYNAME] * 设置 [ENTITYNAME]
......
...@@ -299,6 +299,24 @@ public class MetaFieldDTO extends DTOBase implements Serializable { ...@@ -299,6 +299,24 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
@JsonProperty("show_order") @JsonProperty("show_order")
private Integer showOrder; private Integer showOrder;
/**
* 属性 [CREATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [FIELDNAME] * 设置 [FIELDNAME]
......
...@@ -65,6 +65,15 @@ public class MetaModelDTO extends DTOBase implements Serializable { ...@@ -65,6 +65,15 @@ public class MetaModelDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]") @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
private String config; private String config;
/**
* 属性 [SYSTEMID]
*
*/
@JSONField(name = "system_id")
@JsonProperty("system_id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String systemId;
/** /**
* 属性 [MATERIALIZEDVIEW] * 属性 [MATERIALIZEDVIEW]
* *
...@@ -83,6 +92,24 @@ public class MetaModelDTO extends DTOBase implements Serializable { ...@@ -83,6 +92,24 @@ public class MetaModelDTO extends DTOBase implements Serializable {
@JsonProperty("refresh_time") @JsonProperty("refresh_time")
private Timestamp refreshTime; private Timestamp refreshTime;
/**
* 属性 [CREATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [MODELNAME] * 设置 [MODELNAME]
...@@ -108,6 +135,14 @@ public class MetaModelDTO extends DTOBase implements Serializable { ...@@ -108,6 +135,14 @@ public class MetaModelDTO extends DTOBase implements Serializable {
this.modify("modelcfg",config); this.modify("modelcfg",config);
} }
/**
* 设置 [SYSTEMID]
*/
public void setSystemId(String systemId){
this.systemId = systemId ;
this.modify("systemid",systemId);
}
/** /**
* 设置 [MATERIALIZEDVIEW] * 设置 [MATERIALIZEDVIEW]
*/ */
......
...@@ -120,6 +120,24 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable { ...@@ -120,6 +120,24 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]") @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String systemId; private String systemId;
/**
* 属性 [CREATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("createdate")
private Timestamp createdate;
/**
* 属性 [UPDATEDATE]
*
*/
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate")
private Timestamp updatedate;
/** /**
* 设置 [RELATIONNAME] * 设置 [RELATIONNAME]
......
...@@ -65,6 +65,7 @@ public class DstComponentResource { ...@@ -65,6 +65,7 @@ public class DstComponentResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstcomponent" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')")
@ApiOperation(value = "更新组件", tags = {"组件" }, notes = "更新组件") @ApiOperation(value = "更新组件", tags = {"组件" }, notes = "更新组件")
@RequestMapping(method = RequestMethod.PUT, value = "/dstcomponents/{dstcomponent_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstcomponents/{dstcomponent_id}")
...@@ -192,6 +193,7 @@ public class DstComponentResource { ...@@ -192,6 +193,7 @@ public class DstComponentResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstcomponent" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')")
@ApiOperation(value = "根据应用更新组件", tags = {"组件" }, notes = "根据应用更新组件") @ApiOperation(value = "根据应用更新组件", tags = {"组件" }, notes = "根据应用更新组件")
@RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstcomponents/{dstcomponent_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstcomponents/{dstcomponent_id}")
...@@ -332,6 +334,7 @@ public class DstComponentResource { ...@@ -332,6 +334,7 @@ public class DstComponentResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstcomponent" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstComponent-Update-all')")
@ApiOperation(value = "根据系统应用更新组件", tags = {"组件" }, notes = "根据系统应用更新组件") @ApiOperation(value = "根据系统应用更新组件", tags = {"组件" }, notes = "根据系统应用更新组件")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstcomponents/{dstcomponent_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstcomponents/{dstcomponent_id}")
......
...@@ -65,6 +65,7 @@ public class DstRouterResource { ...@@ -65,6 +65,7 @@ public class DstRouterResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstrouter" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')")
@ApiOperation(value = "更新路由", tags = {"路由" }, notes = "更新路由") @ApiOperation(value = "更新路由", tags = {"路由" }, notes = "更新路由")
@RequestMapping(method = RequestMethod.PUT, value = "/dstrouters/{dstrouter_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstrouters/{dstrouter_id}")
...@@ -181,6 +182,7 @@ public class DstRouterResource { ...@@ -181,6 +182,7 @@ public class DstRouterResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstrouter" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')")
@ApiOperation(value = "根据应用更新路由", tags = {"路由" }, notes = "根据应用更新路由") @ApiOperation(value = "根据应用更新路由", tags = {"路由" }, notes = "根据应用更新路由")
@RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstrouters/{dstrouter_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstrouters/{dstrouter_id}")
...@@ -310,6 +312,7 @@ public class DstRouterResource { ...@@ -310,6 +312,7 @@ public class DstRouterResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstrouter" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstRouter-Update-all')")
@ApiOperation(value = "根据系统应用更新路由", tags = {"路由" }, notes = "根据系统应用更新路由") @ApiOperation(value = "根据系统应用更新路由", tags = {"路由" }, notes = "根据系统应用更新路由")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstrouters/{dstrouter_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstrouters/{dstrouter_id}")
......
...@@ -65,6 +65,7 @@ public class DstViewResource { ...@@ -65,6 +65,7 @@ public class DstViewResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstview" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')")
@ApiOperation(value = "更新页面", tags = {"页面" }, notes = "更新页面") @ApiOperation(value = "更新页面", tags = {"页面" }, notes = "更新页面")
@RequestMapping(method = RequestMethod.PUT, value = "/dstviews/{dstview_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstviews/{dstview_id}")
...@@ -181,6 +182,7 @@ public class DstViewResource { ...@@ -181,6 +182,7 @@ public class DstViewResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstview" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')")
@ApiOperation(value = "根据应用更新页面", tags = {"页面" }, notes = "根据应用更新页面") @ApiOperation(value = "根据应用更新页面", tags = {"页面" }, notes = "根据应用更新页面")
@RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstviews/{dstview_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstapps/{dstapp_id}/dstviews/{dstview_id}")
...@@ -310,6 +312,7 @@ public class DstViewResource { ...@@ -310,6 +312,7 @@ public class DstViewResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "dstview" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-DstView-Update-all')")
@ApiOperation(value = "根据系统应用更新页面", tags = {"页面" }, notes = "根据系统应用更新页面") @ApiOperation(value = "根据系统应用更新页面", tags = {"页面" }, notes = "根据系统应用更新页面")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstviews/{dstview_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}/dstviews/{dstview_id}")
......
...@@ -65,6 +65,7 @@ public class MetaEntityResource { ...@@ -65,6 +65,7 @@ public class MetaEntityResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metaentity" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaEntity-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaEntity-Update-all')")
@ApiOperation(value = "更新实体", tags = {"实体" }, notes = "更新实体") @ApiOperation(value = "更新实体", tags = {"实体" }, notes = "更新实体")
@RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}")
...@@ -192,6 +193,7 @@ public class MetaEntityResource { ...@@ -192,6 +193,7 @@ public class MetaEntityResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metaentity" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaEntity-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaEntity-Update-all')")
@ApiOperation(value = "根据系统更新实体", tags = {"实体" }, notes = "根据系统更新实体") @ApiOperation(value = "根据系统更新实体", tags = {"实体" }, notes = "根据系统更新实体")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}")
......
...@@ -65,6 +65,7 @@ public class MetaFieldResource { ...@@ -65,6 +65,7 @@ public class MetaFieldResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metafield" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')")
@ApiOperation(value = "更新属性", tags = {"属性" }, notes = "更新属性") @ApiOperation(value = "更新属性", tags = {"属性" }, notes = "更新属性")
@RequestMapping(method = RequestMethod.PUT, value = "/metafields/{metafield_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metafields/{metafield_id}")
...@@ -181,6 +182,7 @@ public class MetaFieldResource { ...@@ -181,6 +182,7 @@ public class MetaFieldResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metafield" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')")
@ApiOperation(value = "根据实体更新属性", tags = {"属性" }, notes = "根据实体更新属性") @ApiOperation(value = "根据实体更新属性", tags = {"属性" }, notes = "根据实体更新属性")
@RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}/metafields/{metafield_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}/metafields/{metafield_id}")
...@@ -310,6 +312,7 @@ public class MetaFieldResource { ...@@ -310,6 +312,7 @@ public class MetaFieldResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metafield" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaField-Update-all')")
@ApiOperation(value = "根据系统实体更新属性", tags = {"属性" }, notes = "根据系统实体更新属性") @ApiOperation(value = "根据系统实体更新属性", tags = {"属性" }, notes = "根据系统实体更新属性")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}/metafields/{metafield_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}/metafields/{metafield_id}")
......
...@@ -65,6 +65,7 @@ public class MetaModelResource { ...@@ -65,6 +65,7 @@ public class MetaModelResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metamodel" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaModel-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaModel-Update-all')")
@ApiOperation(value = "更新模型", tags = {"模型" }, notes = "更新模型") @ApiOperation(value = "更新模型", tags = {"模型" }, notes = "更新模型")
@RequestMapping(method = RequestMethod.PUT, value = "/metamodels/{metamodel_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metamodels/{metamodel_id}")
......
...@@ -65,6 +65,7 @@ public class MetaRelationshipResource { ...@@ -65,6 +65,7 @@ public class MetaRelationshipResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metarelationship" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')")
@ApiOperation(value = "更新实体关系", tags = {"实体关系" }, notes = "更新实体关系") @ApiOperation(value = "更新实体关系", tags = {"实体关系" }, notes = "更新实体关系")
@RequestMapping(method = RequestMethod.PUT, value = "/metarelationships/{metarelationship_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metarelationships/{metarelationship_id}")
...@@ -181,6 +182,7 @@ public class MetaRelationshipResource { ...@@ -181,6 +182,7 @@ public class MetaRelationshipResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metarelationship" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')")
@ApiOperation(value = "根据实体更新实体关系", tags = {"实体关系" }, notes = "根据实体更新实体关系") @ApiOperation(value = "根据实体更新实体关系", tags = {"实体关系" }, notes = "根据实体更新实体关系")
@RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}/metarelationships/{metarelationship_id}") @RequestMapping(method = RequestMethod.PUT, value = "/metaentities/{metaentity_id}/metarelationships/{metarelationship_id}")
...@@ -310,6 +312,7 @@ public class MetaRelationshipResource { ...@@ -310,6 +312,7 @@ public class MetaRelationshipResource {
return ResponseEntity.status(HttpStatus.OK).body(true); return ResponseEntity.status(HttpStatus.OK).body(true);
} }
@VersionCheck(entity = "metarelationship" , versionfield = "updatedate")
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')") @PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzlite-MetaRelationship-Update-all')")
@ApiOperation(value = "根据系统实体更新实体关系", tags = {"实体关系" }, notes = "根据系统实体更新实体关系") @ApiOperation(value = "根据系统实体更新实体关系", tags = {"实体关系" }, notes = "根据系统实体更新实体关系")
@RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}/metarelationships/{metarelationship_id}") @RequestMapping(method = RequestMethod.PUT, value = "/dstsystems/{dstsystem_id}/metaentities/{metaentity_id}/metarelationships/{metarelationship_id}")
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册