Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
b2f2e752
提交
b2f2e752
编写于
10月 30, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tmp
上级
84b10ba1
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
27 行增加
和
1 行删除
+27
-1
DataModel.java
...java/cn/ibizlab/core/lite/extensions/model/DataModel.java
+4
-0
LayerMapping.java
...a/cn/ibizlab/core/lite/extensions/model/LayerMapping.java
+2
-0
Model.java
...ain/java/cn/ibizlab/core/lite/extensions/model/Model.java
+6
-1
Property.java
.../java/cn/ibizlab/core/lite/extensions/model/Property.java
+4
-0
PropertyMapping.java
...n/ibizlab/core/lite/extensions/model/PropertyMapping.java
+3
-0
20201029010527_changelog.xml
...esources/liquibase/changelog/20201029010527_changelog.xml
+8
-0
未找到文件。
ibzlite-core/src/main/java/cn/ibizlab/core/lite/extensions/model/DataModel.java
浏览文件 @
b2f2e752
...
...
@@ -23,6 +23,7 @@ public class DataModel {
@JSONField
(
serialize
=
false
)
private
DataModel
parentDataModel
;
@JSONField
(
ordinal
=
1
)
private
String
dataModelName
;
public
String
getDataModelName
()
{
...
...
@@ -35,6 +36,7 @@ public class DataModel {
return
dataModelName
;
}
@JSONField
(
ordinal
=
2
)
private
LinkedHashSet
<
Property
>
objectProperties
=
new
LinkedHashSet
<>();
public
void
setObjectProperties
(
LinkedHashSet
<
Property
>
objectProperties
)
{
if
(
objectProperties
!=
null
)
{
...
...
@@ -43,6 +45,7 @@ public class DataModel {
}
}
@JSONField
(
ordinal
=
3
)
private
LinkedHashSet
<
DataModel
>
nestedDataModels
=
new
LinkedHashSet
<>();
public
void
setNestedDataModels
(
LinkedHashSet
<
DataModel
>
nestedDataModels
)
{
if
(
nestedDataModels
!=
null
)
{
...
...
@@ -51,6 +54,7 @@ public class DataModel {
}
}
@JSONField
(
ordinal
=
4
)
private
LinkedHashSet
<
LayerMapping
>
layerMappings
=
new
LinkedHashSet
<>();
public
void
setLayerMappings
(
LinkedHashSet
<
LayerMapping
>
layerMappings
)
{
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/extensions/model/LayerMapping.java
浏览文件 @
b2f2e752
...
...
@@ -50,6 +50,7 @@ public class LayerMapping {
return
""
;
}
@JSONField
(
ordinal
=
1
)
private
String
selfPropertyColumn
;
@JsonIgnore
...
...
@@ -87,6 +88,7 @@ public class LayerMapping {
return
""
;
}
@JSONField
(
ordinal
=
2
)
private
String
parentPropertyColumn
;
@Override
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/extensions/model/Model.java
浏览文件 @
b2f2e752
...
...
@@ -19,14 +19,19 @@ import java.util.LinkedHashSet;
@Accessors
(
chain
=
true
)
public
class
Model
{
@JSONField
(
ordinal
=
1
)
private
String
id
;
@JSONField
(
ordinal
=
2
)
private
String
name
;
@JSONField
(
ordinal
=
3
)
private
String
system
;
@JSONField
(
ordinal
=
4
)
private
String
factEntity
;
@JSONField
(
ordinal
=
5
)
private
DataModel
model
;
...
...
@@ -40,7 +45,7 @@ public class Model {
Model
model
=
JSONObject
.
toJavaObject
(
jo
,
Model
.
class
);
System
.
out
.
println
(
model
.
model
.
toString
(
));
System
.
out
.
println
(
JSONObject
.
toJSONString
(
model
));
}
}
ibzlite-core/src/main/java/cn/ibizlab/core/lite/extensions/model/Property.java
浏览文件 @
b2f2e752
...
...
@@ -25,12 +25,16 @@ public class Property {
@JSONField
(
serialize
=
false
)
private
DataModel
ownerDataModel
;
@JSONField
(
ordinal
=
1
)
private
String
propertyName
;
@JSONField
(
ordinal
=
2
)
private
String
system
;
@JSONField
(
ordinal
=
3
)
private
String
propertyEntity
;
@JSONField
(
ordinal
=
4
)
private
LinkedHashSet
<
PropertyMapping
>
propertyMappings
=
new
LinkedHashSet
<>();
public
void
setPropertyMappings
(
LinkedHashSet
<
PropertyMapping
>
propertyMappings
)
{
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/extensions/model/PropertyMapping.java
浏览文件 @
b2f2e752
...
...
@@ -51,8 +51,10 @@ public class PropertyMapping {
return
""
;
}
@JSONField
(
ordinal
=
1
)
private
String
selfPropertyColumn
;
@JSONField
(
ordinal
=
2
)
private
String
joinPropertyName
;
public
String
getJoinPropertyName
()
...
...
@@ -79,6 +81,7 @@ public class PropertyMapping {
return
""
;
}
@JSONField
(
ordinal
=
3
)
private
String
joinPropertyColumn
;
@Override
...
...
ibzlite-core/src/main/resources/liquibase/changelog/20201029010527_changelog.xml
0 → 100644
浏览文件 @
b2f2e752
<?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:pro=
"http://www.liquibase.org/xml/ns/pro"
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/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd"
>
<changeSet
author=
"mac (generated)"
id=
"1603933536067-1"
>
<addColumn
tableName=
"IBZFIELD"
>
<column
name=
"ISENABLEAUDIT"
type=
"INTEGER"
/>
</addColumn>
</changeSet>
</databaseChangeLog>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录