Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
2bd98e51
提交
2bd98e51
编写于
10月 29, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码,后台体系[ibz-lite],前端应用[应用]
上级
19c736d7
变更
38
展开全部
显示空白字符变更
内嵌
并排
正在显示
38 个修改的文件
包含
3266 行增加
和
85 行删除
+3266
-85
meta-field_en_US.ts
...src/locale/lanres/entities/meta-field/meta-field_en_US.ts
+3
-0
meta-field_zh_CN.ts
...src/locale/lanres/entities/meta-field/meta-field_zh_CN.ts
+3
-0
main-form-base.vue
app_web/src/widgets/meta-field/main-form/main-form-base.vue
+39
-1
main-form-model.ts
app_web/src/widgets/meta-field/main-form/main-form-model.ts
+5
-0
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+3
-0
main-form-base.vue
app_web/src/widgets/meta-model/main-form/main-form-base.vue
+1
-1
application-web-prod.yml
...zlite-app-web/src/main/resources/application-web-prod.yml
+1
-1
MetaField.java
.../src/main/java/cn/ibizlab/core/lite/domain/MetaField.java
+15
-0
IDstAPIService.java
...ain/java/cn/ibizlab/core/lite/service/IDstAPIService.java
+4
-4
IDstAppService.java
...ain/java/cn/ibizlab/core/lite/service/IDstAppService.java
+2
-2
IDstComponentService.java
...va/cn/ibizlab/core/lite/service/IDstComponentService.java
+6
-7
IDstConfigService.java
.../java/cn/ibizlab/core/lite/service/IDstConfigService.java
+2
-3
IDstDataSourceService.java
...a/cn/ibizlab/core/lite/service/IDstDataSourceService.java
+0
-1
IDstLookupService.java
.../java/cn/ibizlab/core/lite/service/IDstLookupService.java
+2
-2
IDstMicroserviceService.java
...cn/ibizlab/core/lite/service/IDstMicroserviceService.java
+2
-2
IDstRouterService.java
.../java/cn/ibizlab/core/lite/service/IDstRouterService.java
+6
-7
IDstSystemService.java
.../java/cn/ibizlab/core/lite/service/IDstSystemService.java
+0
-1
IDstViewService.java
...in/java/cn/ibizlab/core/lite/service/IDstViewService.java
+6
-7
IMetaDataSetService.java
...ava/cn/ibizlab/core/lite/service/IMetaDataSetService.java
+2
-3
IMetaEntityService.java
...java/cn/ibizlab/core/lite/service/IMetaEntityService.java
+4
-5
IMetaFieldService.java
.../java/cn/ibizlab/core/lite/service/IMetaFieldService.java
+6
-7
IMetaModelService.java
.../java/cn/ibizlab/core/lite/service/IMetaModelService.java
+0
-1
IMetaModuleService.java
...java/cn/ibizlab/core/lite/service/IMetaModuleService.java
+2
-2
IMetaRelationshipService.java
...n/ibizlab/core/lite/service/IMetaRelationshipService.java
+4
-5
DstComponentServiceImpl.java
...izlab/core/lite/service/impl/DstComponentServiceImpl.java
+0
-3
DstConfigServiceImpl.java
.../ibizlab/core/lite/service/impl/DstConfigServiceImpl.java
+0
-1
DstRouterServiceImpl.java
.../ibizlab/core/lite/service/impl/DstRouterServiceImpl.java
+0
-3
DstViewServiceImpl.java
...cn/ibizlab/core/lite/service/impl/DstViewServiceImpl.java
+0
-3
MetaDataSetServiceImpl.java
...bizlab/core/lite/service/impl/MetaDataSetServiceImpl.java
+0
-1
MetaEntityServiceImpl.java
...ibizlab/core/lite/service/impl/MetaEntityServiceImpl.java
+0
-2
MetaFieldServiceImpl.java
.../ibizlab/core/lite/service/impl/MetaFieldServiceImpl.java
+0
-3
MetaRelationshipServiceImpl.java
...b/core/lite/service/impl/MetaRelationshipServiceImpl.java
+0
-2
20200620200620_init_ibzcfg2.xml
...urces/liquibase/changelog/20200620200620_init_ibzcfg2.xml
+21
-0
h2_table.xml
ibzlite-core/src/main/resources/liquibase/h2_table.xml
+4
-2
MetaFieldMapper.xml
.../main/resources/mapper/lite/metafield/MetaFieldMapper.xml
+3
-3
ibzlite.json
ibzlite-core/src/main/resources/sysmodel/ibzlite.json
+148
-0
MetaFieldDTO.java
...er-api/src/main/java/cn/ibizlab/api/dto/MetaFieldDTO.java
+16
-0
StaticDict.java
...e-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+2956
-0
未找到文件。
app_web/src/locale/lanres/entities/meta-field/meta-field_en_US.ts
浏览文件 @
2bd98e51
...
...
@@ -30,6 +30,7 @@ export default {
data_preci
:
"精度"
,
expression
:
"逻辑表达式"
,
extension_field
:
"扩展属性"
,
is_enable_audit
:
"审计"
,
show_order
:
"排序"
,
},
views
:
{
...
...
@@ -58,6 +59,7 @@ export default {
details
:
{
grouppanel2
:
"分组面板"
,
grouppanel1
:
"分组面板"
,
grouppanel3
:
"分组面板"
,
group1
:
"属性基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
...
...
@@ -88,6 +90,7 @@ export default {
refentityname
:
"引用实体"
,
showorder
:
"排序"
,
extensionfield
:
"扩展属性"
,
isenableaudit
:
"审计"
,
entityid
:
"实体标识"
,
entityname
:
"实体名称"
,
relationid
:
"引用关系标识"
,
...
...
app_web/src/locale/lanres/entities/meta-field/meta-field_zh_CN.ts
浏览文件 @
2bd98e51
...
...
@@ -29,6 +29,7 @@ export default {
data_preci
:
"精度"
,
expression
:
"逻辑表达式"
,
extension_field
:
"扩展属性"
,
is_enable_audit
:
"审计"
,
show_order
:
"排序"
,
},
views
:
{
...
...
@@ -57,6 +58,7 @@ export default {
details
:
{
grouppanel2
:
"分组面板"
,
grouppanel1
:
"分组面板"
,
grouppanel3
:
"分组面板"
,
group1
:
"属性基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
...
...
@@ -87,6 +89,7 @@ export default {
refentityname
:
"引用实体"
,
showorder
:
"排序"
,
extensionfield
:
"扩展属性"
,
isenableaudit
:
"审计"
,
entityid
:
"实体标识"
,
entityname
:
"实体名称"
,
relationid
:
"引用关系标识"
,
...
...
app_web/src/widgets/meta-field/main-form/main-form-base.vue
浏览文件 @
2bd98e51
...
...
@@ -293,12 +293,27 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.extensionfield.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col
v-show=
"detailsModel.grouppanel3.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel3.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel3.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel3')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel3.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.metafield.main_form.details.grouppanel3')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.extensionfield.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'extensionfield'
:itemRules=
"this.rules().extensionfield"
class=
''
:caption=
"$t('entities.metafield.main_form.details.extensionfield')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.extensionfield.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-switch
name=
'extensionfield'
:value=
"this.data.extensionfield"
@
change=
"($event)=>
{this.data.extensionfield = $event} " :disabled="detailsModel.extensionfield.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.isenableaudit.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'isenableaudit'
:itemRules=
"this.rules().isenableaudit"
class=
''
:caption=
"$t('entities.metafield.main_form.details.isenableaudit')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.isenableaudit.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-switch
name=
'isenableaudit'
:value=
"this.data.isenableaudit"
@
change=
"($event)=>
{this.data.isenableaudit = $event} " :disabled="detailsModel.isenableaudit.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
...
...
@@ -674,6 +689,7 @@ export default class MainBase extends Vue implements ControlInterface {
refentityname
:
null
,
showorder
:
null
,
extensionfield
:
null
,
isenableaudit
:
null
,
entityid
:
null
,
entityname
:
null
,
relationid
:
null
,
...
...
@@ -806,6 +822,10 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
extensionfield
.
required
,
type
:
'number'
,
message
:
'扩展属性 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
extensionfield
.
required
,
type
:
'number'
,
message
:
'扩展属性 值不能为空'
,
trigger
:
'blur'
},
],
isenableaudit
:
[
{
required
:
this
.
detailsModel
.
isenableaudit
.
required
,
type
:
'number'
,
message
:
'审计 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
isenableaudit
.
required
,
type
:
'number'
,
message
:
'审计 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -903,6 +923,8 @@ export default class MainBase extends Vue implements ControlInterface {
grouppanel2
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel2'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.metafield.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
false
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.metafield.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
grouppanel3
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel3'
,
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
:
[]
})
,
...
...
@@ -963,6 +985,8 @@ export default class MainBase extends Vue implements ControlInterface {
showorder
:
new
FormItemModel
({
caption
:
'排序'
,
detailType
:
'FORMITEM'
,
name
:
'showorder'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
extensionfield
:
new
FormItemModel
({
caption
:
'扩展属性'
,
detailType
:
'FORMITEM'
,
name
:
'extensionfield'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
isenableaudit
:
new
FormItemModel
({
caption
:
'审计'
,
detailType
:
'FORMITEM'
,
name
:
'isenableaudit'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
entityid
:
new
FormItemModel
({
caption
:
'实体标识'
,
detailType
:
'FORMITEM'
,
name
:
'entityid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1312,6 +1336,18 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'extensionfield'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 isenableaudit 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.isenableaudit'
)
onIsenableauditChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'isenableaudit'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 entityid 值
*
...
...
@@ -1455,6 +1491,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'fieldtype'
)
||
Object
.
is
(
name
,
'physicalfield'
))
{
...
...
@@ -1480,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
...
...
app_web/src/widgets/meta-field/main-form/main-form-model.ts
浏览文件 @
2bd98e51
...
...
@@ -155,6 +155,11 @@ export default class MainModel {
prop
:
'extension_field'
,
dataType
:
'YESNO'
,
},
{
name
:
'isenableaudit'
,
prop
:
'is_enable_audit'
,
dataType
:
'YESNO'
,
},
{
name
:
'entityid'
,
prop
:
'entity_id'
,
...
...
app_web/src/widgets/meta-field/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
浏览文件 @
2bd98e51
...
...
@@ -102,6 +102,9 @@ export default class PickupViewpickupviewpanelModel {
{
name
:
'extension_field'
,
},
{
name
:
'is_enable_audit'
,
},
{
name
:
'show_order'
,
},
...
...
app_web/src/widgets/meta-model/main-form/main-form-base.vue
浏览文件 @
2bd98e51
...
...
@@ -35,7 +35,7 @@
</i-col>
<i-col
v-show=
"detailsModel.modelcfg.visible"
:style=
"
{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item
name=
'modelcfg'
:itemRules=
"this.rules().modelcfg"
class=
''
:caption=
"$t('entities.metamodel.main_form.details.modelcfg')"
uiStyle=
"DEFAULT"
:labelWidth=
"0"
:isShowCaption=
"false"
:error=
"detailsModel.modelcfg.error"
:isEmptyCaption=
"false"
labelPos=
"NONE"
>
<
app-code-editor
:code=
"data.modelcfg"
:disabled=
"detailsModel.modelcfg.disabled"
@
change=
"(val) =>
{this.data.modelcfg =val}" codetype="javascript" >
</app-code-editor
>
<
input-box
v-model=
"data.modelcfg"
:textareaId=
"this.$util.createUUID()"
:disabled=
"detailsModel.modelcfg.disabled"
type=
'textarea'
textareaStyle=
"height:200px;"
></input-box
>
</app-form-item>
...
...
ibzlite-app/ibzlite-app-web/src/main/resources/application-web-prod.yml
浏览文件 @
2bd98e51
...
...
@@ -80,7 +80,7 @@ zuul:
serviceId
:
${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix
:
false
config
:
path
:
/config/**
path
:
/config
s
/**
serviceId
:
${ibiz.ref.service.uaa:ibzuaa-api}
stripPrefix
:
false
oucore
:
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/domain/MetaField.java
浏览文件 @
2bd98e51
...
...
@@ -247,6 +247,13 @@ public class MetaField extends EntityMP implements Serializable {
@JSONField
(
name
=
"extension_field"
)
@JsonProperty
(
"extension_field"
)
private
Integer
extensionField
;
/**
* 审计
*/
@TableField
(
value
=
"isenableaudit"
)
@JSONField
(
name
=
"is_enable_audit"
)
@JsonProperty
(
"is_enable_audit"
)
private
Integer
isEnableAudit
;
/**
* 排序
*/
...
...
@@ -457,6 +464,14 @@ public class MetaField extends EntityMP implements Serializable {
this
.
modify
(
"extensionfield"
,
extensionField
);
}
/**
* 设置 [审计]
*/
public
void
setIsEnableAudit
(
Integer
isEnableAudit
){
this
.
isEnableAudit
=
isEnableAudit
;
this
.
modify
(
"isenableaudit"
,
isEnableAudit
);
}
/**
* 设置 [排序]
*/
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstAPIService.java
浏览文件 @
2bd98e51
...
...
@@ -36,10 +36,10 @@ public interface IDstAPIService{
boolean
save
(
DstAPI
et
)
;
void
saveBatch
(
List
<
DstAPI
>
list
)
;
Page
<
DstAPI
>
searchDefault
(
DstAPISearchContext
context
)
;
List
<
DstAPI
>
selectByMsId
(
String
id
)
;
void
removeByMsId
(
String
id
)
;
List
<
DstAPI
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
DstAPI
>
selectByMsId
(
String
id
);
void
removeByMsId
(
String
id
);
List
<
DstAPI
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstAppService.java
浏览文件 @
2bd98e51
...
...
@@ -36,8 +36,8 @@ public interface IDstAppService{
boolean
save
(
DstApp
et
)
;
void
saveBatch
(
List
<
DstApp
>
list
)
;
Page
<
DstApp
>
searchDefault
(
DstAppSearchContext
context
)
;
List
<
DstApp
>
selectBySystemid
(
String
pssystemid
)
;
void
removeBySystemid
(
String
pssystemid
)
;
List
<
DstApp
>
selectBySystemid
(
String
pssystemid
);
void
removeBySystemid
(
String
pssystemid
);
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstComponentService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstComponent
;
import
cn.ibizlab.core.lite.filter.DstComponentSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -39,12 +38,12 @@ public interface IDstComponentService extends IService<DstComponent>{
void
saveBatch
(
List
<
DstComponent
>
list
)
;
DstComponent
sync
(
DstComponent
et
)
;
Page
<
DstComponent
>
searchDefault
(
DstComponentSearchContext
context
)
;
List
<
DstComponent
>
selectByAppId
(
String
id
)
;
void
removeByAppId
(
String
id
)
;
List
<
DstComponent
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
DstComponent
>
selectByEntityId
(
String
entity_id
)
;
void
removeByEntityId
(
String
entity_id
)
;
List
<
DstComponent
>
selectByAppId
(
String
id
);
void
removeByAppId
(
String
id
);
List
<
DstComponent
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
List
<
DstComponent
>
selectByEntityId
(
String
entity_id
);
void
removeByEntityId
(
String
entity_id
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstConfigService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstConfig
;
import
cn.ibizlab.core.lite.filter.DstConfigSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,8 +37,8 @@ public interface IDstConfigService extends IService<DstConfig>{
boolean
save
(
DstConfig
et
)
;
void
saveBatch
(
List
<
DstConfig
>
list
)
;
Page
<
DstConfig
>
searchDefault
(
DstConfigSearchContext
context
)
;
List
<
DstConfig
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
DstConfig
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstDataSourceService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstDataSource
;
import
cn.ibizlab.core.lite.filter.DstDataSourceSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstLookupService.java
浏览文件 @
2bd98e51
...
...
@@ -36,8 +36,8 @@ public interface IDstLookupService{
boolean
save
(
DstLookup
et
)
;
void
saveBatch
(
List
<
DstLookup
>
list
)
;
Page
<
DstLookup
>
searchDefault
(
DstLookupSearchContext
context
)
;
List
<
DstLookup
>
selectByRelationid
(
String
id
)
;
void
removeByRelationid
(
String
id
)
;
List
<
DstLookup
>
selectByRelationid
(
String
id
);
void
removeByRelationid
(
String
id
);
void
saveByRelationid
(
String
id
,
List
<
DstLookup
>
list
)
;
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstMicroserviceService.java
浏览文件 @
2bd98e51
...
...
@@ -36,8 +36,8 @@ public interface IDstMicroserviceService{
boolean
save
(
DstMicroservice
et
)
;
void
saveBatch
(
List
<
DstMicroservice
>
list
)
;
Page
<
DstMicroservice
>
searchDefault
(
DstMicroserviceSearchContext
context
)
;
List
<
DstMicroservice
>
selectByPssystemid
(
String
pssystemid
)
;
void
removeByPssystemid
(
String
pssystemid
)
;
List
<
DstMicroservice
>
selectByPssystemid
(
String
pssystemid
);
void
removeByPssystemid
(
String
pssystemid
);
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstRouterService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstRouter
;
import
cn.ibizlab.core.lite.filter.DstRouterSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,12 +37,12 @@ public interface IDstRouterService extends IService<DstRouter>{
boolean
save
(
DstRouter
et
)
;
void
saveBatch
(
List
<
DstRouter
>
list
)
;
Page
<
DstRouter
>
searchDefault
(
DstRouterSearchContext
context
)
;
List
<
DstRouter
>
selectByAppId
(
String
id
)
;
void
removeByAppId
(
String
id
)
;
List
<
DstRouter
>
selectByParentid
(
String
id
)
;
void
removeByParentid
(
String
id
)
;
List
<
DstRouter
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
DstRouter
>
selectByAppId
(
String
id
);
void
removeByAppId
(
String
id
);
List
<
DstRouter
>
selectByParentid
(
String
id
);
void
removeByParentid
(
String
id
);
List
<
DstRouter
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstSystemService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstSystem
;
import
cn.ibizlab.core.lite.filter.DstSystemSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstViewService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.DstView
;
import
cn.ibizlab.core.lite.filter.DstViewSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,12 +37,12 @@ public interface IDstViewService extends IService<DstView>{
boolean
save
(
DstView
et
)
;
void
saveBatch
(
List
<
DstView
>
list
)
;
Page
<
DstView
>
searchDefault
(
DstViewSearchContext
context
)
;
List
<
DstView
>
selectByAppId
(
String
id
)
;
void
removeByAppId
(
String
id
)
;
List
<
DstView
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
DstView
>
selectByEntityId
(
String
entity_id
)
;
void
removeByEntityId
(
String
entity_id
)
;
List
<
DstView
>
selectByAppId
(
String
id
);
void
removeByAppId
(
String
id
);
List
<
DstView
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
List
<
DstView
>
selectByEntityId
(
String
entity_id
);
void
removeByEntityId
(
String
entity_id
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaDataSetService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.MetaDataSet
;
import
cn.ibizlab.core.lite.filter.MetaDataSetSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,8 +37,8 @@ public interface IMetaDataSetService extends IService<MetaDataSet>{
boolean
save
(
MetaDataSet
et
)
;
void
saveBatch
(
List
<
MetaDataSet
>
list
)
;
Page
<
MetaDataSet
>
searchDefault
(
MetaDataSetSearchContext
context
)
;
List
<
MetaDataSet
>
selectByEntityId
(
String
entity_id
)
;
void
removeByEntityId
(
String
entity_id
)
;
List
<
MetaDataSet
>
selectByEntityId
(
String
entity_id
);
void
removeByEntityId
(
String
entity_id
);
void
saveByEntityId
(
String
entity_id
,
List
<
MetaDataSet
>
list
)
;
/**
*自定义查询SQL
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaEntityService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.MetaEntity
;
import
cn.ibizlab.core.lite.filter.MetaEntitySearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,10 +37,10 @@ public interface IMetaEntityService extends IService<MetaEntity>{
boolean
save
(
MetaEntity
et
)
;
void
saveBatch
(
List
<
MetaEntity
>
list
)
;
Page
<
MetaEntity
>
searchDefault
(
MetaEntitySearchContext
context
)
;
List
<
MetaEntity
>
selectByDsId
(
String
ds_id
)
;
void
removeByDsId
(
String
ds_id
)
;
List
<
MetaEntity
>
selectBySystemId
(
String
pssystemid
)
;
void
removeBySystemId
(
String
pssystemid
)
;
List
<
MetaEntity
>
selectByDsId
(
String
ds_id
);
void
removeByDsId
(
String
ds_id
);
List
<
MetaEntity
>
selectBySystemId
(
String
pssystemid
);
void
removeBySystemId
(
String
pssystemid
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaFieldService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.MetaField
;
import
cn.ibizlab.core.lite.filter.MetaFieldSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,13 +37,13 @@ public interface IMetaFieldService extends IService<MetaField>{
boolean
save
(
MetaField
et
)
;
void
saveBatch
(
List
<
MetaField
>
list
)
;
Page
<
MetaField
>
searchDefault
(
MetaFieldSearchContext
context
)
;
List
<
MetaField
>
selectByEntityId
(
String
entity_id
)
;
void
removeByEntityId
(
String
entity_id
)
;
List
<
MetaField
>
selectByEntityId
(
String
entity_id
);
void
removeByEntityId
(
String
entity_id
);
void
saveByEntityId
(
String
entity_id
,
List
<
MetaField
>
list
)
;
List
<
MetaField
>
selectByRefFieldId
(
String
field_id
)
;
void
removeByRefFieldId
(
String
field_id
)
;
List
<
MetaField
>
selectByRelationId
(
String
id
)
;
void
removeByRelationId
(
String
id
)
;
List
<
MetaField
>
selectByRefFieldId
(
String
field_id
);
void
removeByRefFieldId
(
String
field_id
);
List
<
MetaField
>
selectByRelationId
(
String
id
);
void
removeByRelationId
(
String
id
);
/**
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaModelService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.MetaModel
;
import
cn.ibizlab.core.lite.filter.MetaModelSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaModuleService.java
浏览文件 @
2bd98e51
...
...
@@ -36,8 +36,8 @@ public interface IMetaModuleService{
boolean
save
(
MetaModule
et
)
;
void
saveBatch
(
List
<
MetaModule
>
list
)
;
Page
<
MetaModule
>
searchDefault
(
MetaModuleSearchContext
context
)
;
List
<
MetaModule
>
selectBySystemid
(
String
pssystemid
)
;
void
removeBySystemid
(
String
pssystemid
)
;
List
<
MetaModule
>
selectBySystemid
(
String
pssystemid
);
void
removeBySystemid
(
String
pssystemid
);
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IMetaRelationshipService.java
浏览文件 @
2bd98e51
...
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.lite.domain.MetaRelationship
;
import
cn.ibizlab.core.lite.filter.MetaRelationshipSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
...
...
@@ -38,11 +37,11 @@ public interface IMetaRelationshipService extends IService<MetaRelationship>{
boolean
save
(
MetaRelationship
et
)
;
void
saveBatch
(
List
<
MetaRelationship
>
list
)
;
Page
<
MetaRelationship
>
searchDefault
(
MetaRelationshipSearchContext
context
)
;
List
<
MetaRelationship
>
selectByEntityId
(
String
entity_id
)
;
void
removeByEntityId
(
String
entity_id
)
;
List
<
MetaRelationship
>
selectByEntityId
(
String
entity_id
);
void
removeByEntityId
(
String
entity_id
);
void
saveByEntityId
(
String
entity_id
,
List
<
MetaRelationship
>
list
)
;
List
<
MetaRelationship
>
selectByRefEntityId
(
String
entity_id
)
;
void
removeByRefEntityId
(
String
entity_id
)
;
List
<
MetaRelationship
>
selectByRefEntityId
(
String
entity_id
);
void
removeByRefEntityId
(
String
entity_id
);
void
saveByRefEntityId
(
String
entity_id
,
List
<
MetaRelationship
>
list
)
;
/**
*自定义查询SQL
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/DstComponentServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -172,7 +172,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public
List
<
DstComponent
>
selectByAppId
(
String
id
)
{
return
baseMapper
.
selectByAppId
(
id
);
}
@Override
public
void
removeByAppId
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
DstComponent
>().
eq
(
"appid"
,
id
));
...
...
@@ -182,7 +181,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public
List
<
DstComponent
>
selectBySystemId
(
String
pssystemid
)
{
return
baseMapper
.
selectBySystemId
(
pssystemid
);
}
@Override
public
void
removeBySystemId
(
String
pssystemid
)
{
this
.
remove
(
new
QueryWrapper
<
DstComponent
>().
eq
(
"systemid"
,
pssystemid
));
...
...
@@ -192,7 +190,6 @@ public class DstComponentServiceImpl extends ServiceImpl<DstComponentMapper, Dst
public
List
<
DstComponent
>
selectByEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByEntityId
(
entity_id
);
}
@Override
public
void
removeByEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
DstComponent
>().
eq
(
"entityid"
,
entity_id
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/DstConfigServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -155,7 +155,6 @@ public class DstConfigServiceImpl extends ServiceImpl<DstConfigMapper, DstConfig
public
List
<
DstConfig
>
selectBySystemId
(
String
pssystemid
)
{
return
baseMapper
.
selectBySystemId
(
pssystemid
);
}
@Override
public
void
removeBySystemId
(
String
pssystemid
)
{
this
.
remove
(
new
QueryWrapper
<
DstConfig
>().
eq
(
"systemid"
,
pssystemid
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/DstRouterServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -157,7 +157,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public
List
<
DstRouter
>
selectByAppId
(
String
id
)
{
return
baseMapper
.
selectByAppId
(
id
);
}
@Override
public
void
removeByAppId
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
DstRouter
>().
eq
(
"appid"
,
id
));
...
...
@@ -167,7 +166,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public
List
<
DstRouter
>
selectByParentid
(
String
id
)
{
return
baseMapper
.
selectByParentid
(
id
);
}
@Override
public
void
removeByParentid
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
DstRouter
>().
eq
(
"parentid"
,
id
));
...
...
@@ -177,7 +175,6 @@ public class DstRouterServiceImpl extends ServiceImpl<DstRouterMapper, DstRouter
public
List
<
DstRouter
>
selectBySystemId
(
String
pssystemid
)
{
return
baseMapper
.
selectBySystemId
(
pssystemid
);
}
@Override
public
void
removeBySystemId
(
String
pssystemid
)
{
this
.
remove
(
new
QueryWrapper
<
DstRouter
>().
eq
(
"systemid"
,
pssystemid
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/DstViewServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -165,7 +165,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public
List
<
DstView
>
selectByAppId
(
String
id
)
{
return
baseMapper
.
selectByAppId
(
id
);
}
@Override
public
void
removeByAppId
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
DstView
>().
eq
(
"appid"
,
id
));
...
...
@@ -175,7 +174,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public
List
<
DstView
>
selectBySystemId
(
String
pssystemid
)
{
return
baseMapper
.
selectBySystemId
(
pssystemid
);
}
@Override
public
void
removeBySystemId
(
String
pssystemid
)
{
this
.
remove
(
new
QueryWrapper
<
DstView
>().
eq
(
"systemid"
,
pssystemid
));
...
...
@@ -185,7 +183,6 @@ public class DstViewServiceImpl extends ServiceImpl<DstViewMapper, DstView> impl
public
List
<
DstView
>
selectByEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByEntityId
(
entity_id
);
}
@Override
public
void
removeByEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
DstView
>().
eq
(
"entityid"
,
entity_id
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/MetaDataSetServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -162,7 +162,6 @@ public class MetaDataSetServiceImpl extends ServiceImpl<MetaDataSetMapper, MetaD
public
List
<
MetaDataSet
>
selectByEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByEntityId
(
entity_id
);
}
@Override
public
void
removeByEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaDataSet
>().
eq
(
"entityid"
,
entity_id
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/MetaEntityServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -196,7 +196,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public
List
<
MetaEntity
>
selectByDsId
(
String
ds_id
)
{
return
baseMapper
.
selectByDsId
(
ds_id
);
}
@Override
public
void
removeByDsId
(
String
ds_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaEntity
>().
eq
(
"dsid"
,
ds_id
));
...
...
@@ -206,7 +205,6 @@ public class MetaEntityServiceImpl extends ServiceImpl<MetaEntityMapper, MetaEnt
public
List
<
MetaEntity
>
selectBySystemId
(
String
pssystemid
)
{
return
baseMapper
.
selectBySystemId
(
pssystemid
);
}
@Override
public
void
removeBySystemId
(
String
pssystemid
)
{
this
.
remove
(
new
QueryWrapper
<
MetaEntity
>().
eq
(
"systemid"
,
pssystemid
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/MetaFieldServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -167,7 +167,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public
List
<
MetaField
>
selectByEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByEntityId
(
entity_id
);
}
@Override
public
void
removeByEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaField
>().
eq
(
"entityid"
,
entity_id
));
...
...
@@ -209,7 +208,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public
List
<
MetaField
>
selectByRefFieldId
(
String
field_id
)
{
return
baseMapper
.
selectByRefFieldId
(
field_id
);
}
@Override
public
void
removeByRefFieldId
(
String
field_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaField
>().
eq
(
"reffieldid"
,
field_id
));
...
...
@@ -219,7 +217,6 @@ public class MetaFieldServiceImpl extends ServiceImpl<MetaFieldMapper, MetaField
public
List
<
MetaField
>
selectByRelationId
(
String
id
)
{
return
baseMapper
.
selectByRelationId
(
id
);
}
@Override
public
void
removeByRelationId
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaField
>().
eq
(
"relationid"
,
id
));
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/MetaRelationshipServiceImpl.java
浏览文件 @
2bd98e51
...
...
@@ -165,7 +165,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public
List
<
MetaRelationship
>
selectByEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByEntityId
(
entity_id
);
}
@Override
public
void
removeByEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaRelationship
>().
eq
(
"entityid"
,
entity_id
));
...
...
@@ -207,7 +206,6 @@ public class MetaRelationshipServiceImpl extends ServiceImpl<MetaRelationshipMap
public
List
<
MetaRelationship
>
selectByRefEntityId
(
String
entity_id
)
{
return
baseMapper
.
selectByRefEntityId
(
entity_id
);
}
@Override
public
void
removeByRefEntityId
(
String
entity_id
)
{
this
.
remove
(
new
QueryWrapper
<
MetaRelationship
>().
eq
(
"refentityid"
,
entity_id
));
...
...
ibzlite-core/src/main/resources/liquibase/changelog/20200620200620_init_ibzcfg2.xml
0 → 100644
浏览文件 @
2bd98e51
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext=
"http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd"
>
<changeSet
author=
"Think (generated)"
id=
"1592547336292-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not
>
<tableExists
tableName=
"IBZCFG"
/>
</not>
</preConditions>
<createTable
remarks=
"配置"
tableName=
"IBZCFG"
>
<column
name=
"CFGID"
remarks=
"配置标识"
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
/>
</column>
<column
name=
"SYSTEMID"
remarks=
"系统标识"
type=
"VARCHAR(100)"
/>
<column
name=
"CFGTYPE"
remarks=
"配置类型"
type=
"VARCHAR(100)"
/>
<column
name=
"TARGETTYPE"
remarks=
"引用对象"
type=
"VARCHAR(100)"
/>
<column
name=
"USERID"
remarks=
"用户标识"
type=
"VARCHAR(100)"
/>
<column
name=
"CFG"
remarks=
"配置"
type=
"MEDIUMTEXT"
/>
<column
name=
"UPDATEDATE"
remarks=
"更新时间"
type=
"datetime"
/>
</createTable>
</changeSet>
</databaseChangeLog>
ibzlite-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2bd98e51
...
...
@@ -184,7 +184,7 @@
<!--输出实体[META_FIELD]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_field-14
4
-9"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_field-14
7
-9"
>
<createTable
tableName=
"IBZFIELD"
>
<column
name=
"FIELDID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_FIELD_FIELDID"
/>
...
...
@@ -233,6 +233,8 @@
</column>
<column
name=
"EXTENSIONFIELD"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"ISENABLEAUDIT"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"SHOWORDER"
remarks=
""
type=
"INT"
>
</column>
</createTable>
...
...
@@ -240,7 +242,7 @@
<!--输出实体[META_MODEL]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_model-2
0
-10"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_model-2
1
-10"
>
<createTable
tableName=
"IBZMODEL"
>
<column
name=
"MODELID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_MODEL_MODELID"
/>
...
...
ibzlite-core/src/main/resources/mapper/lite/metafield/MetaFieldMapper.xml
浏览文件 @
2bd98e51
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<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.`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}]]>
</select>
<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.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 @@
<!--数据查询[Default]-->
<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.`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.`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
]]>
</sql>
<!--数据查询[Default]-->
...
...
@@ -78,7 +78,7 @@
</sql>
<!--数据查询[View]-->
<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.`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.`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
]]>
</sql>
<!--数据查询[View]-->
...
...
ibzlite-core/src/main/resources/sysmodel/ibzlite.json
浏览文件 @
2bd98e51
此差异已折叠。
点击以展开。
ibzlite-provider/ibzlite-provider-api/src/main/java/cn/ibizlab/api/dto/MetaFieldDTO.java
浏览文件 @
2bd98e51
...
...
@@ -283,6 +283,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
@JsonProperty
(
"extension_field"
)
private
Integer
extensionField
;
/**
* 属性 [ISENABLEAUDIT]
*
*/
@JSONField
(
name
=
"is_enable_audit"
)
@JsonProperty
(
"is_enable_audit"
)
private
Integer
isEnableAudit
;
/**
* 属性 [SHOWORDER]
*
...
...
@@ -468,6 +476,14 @@ public class MetaFieldDTO extends DTOBase implements Serializable {
this
.
modify
(
"extensionfield"
,
extensionField
);
}
/**
* 设置 [ISENABLEAUDIT]
*/
public
void
setIsEnableAudit
(
Integer
isEnableAudit
){
this
.
isEnableAudit
=
isEnableAudit
;
this
.
modify
(
"isenableaudit"
,
isEnableAudit
);
}
/**
* 设置 [SHOWORDER]
*/
...
...
ibzlite-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
0 → 100644
浏览文件 @
2bd98e51
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录