Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
7edee24e
提交
7edee24e
编写于
12月 14, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 部署微服务接口 [后台服务,接口示例]
上级
6fc5d5ec
变更
5
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
IBIZBOOKDataImport.java
...va/cn/ibizlab/core/sample/mapping/IBIZBOOKDataImport.java
+4
-4
IBIZOrderImport.java
.../java/cn/ibizlab/core/sample/mapping/IBIZOrderImport.java
+1
-1
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-2
view.xml
demo-core/src/main/resources/liquibase/view.xml
+2
-2
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
demo-core/src/main/java/cn/ibizlab/core/sample/mapping/IBIZBOOKDataImport.java
浏览文件 @
7edee24e
...
...
@@ -8,16 +8,16 @@ import java.util.List;
public
interface
IBIZBOOKDataImport
{
@Mappings
({
@Mapping
(
target
=
"ibizbookid"
,
source
=
"ibizbookid"
),
@Mapping
(
target
=
"borrowway"
,
source
=
"borrowway"
),
@Mapping
(
target
=
"subtext"
,
source
=
"subtext"
),
@Mapping
(
target
=
"ibizbookname"
,
source
=
"ibizbookname"
),
@Mapping
(
target
=
"sailstate"
,
source
=
"sailstate"
),
@Mapping
(
target
=
"tag"
,
source
=
"tag"
),
@Mapping
(
target
=
"borrowway"
,
source
=
"borrowway"
),
@Mapping
(
target
=
"press"
,
source
=
"press"
),
@Mapping
(
target
=
"sailstate"
,
source
=
"sailstate"
),
@Mapping
(
target
=
"author"
,
source
=
"author"
),
@Mapping
(
target
=
"type"
,
source
=
"type"
),
@Mapping
(
target
=
"price"
,
source
=
"price"
),
@Mapping
(
target
=
"booknumber"
,
source
=
"booknumber"
),
@Mapping
(
target
=
"tag"
,
source
=
"tag"
),
@Mapping
(
target
=
"type"
,
source
=
"type"
),
})
@BeanMapping
(
ignoreByDefault
=
true
)
IBIZBOOK
toDomain
(
IBIZBOOK
entity
);
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/mapping/IBIZOrderImport.java
浏览文件 @
7edee24e
...
...
@@ -8,9 +8,9 @@ import java.util.List;
public
interface
IBIZOrderImport
{
@Mappings
({
@Mapping
(
target
=
"ibizorderid"
,
source
=
"ibizorderid"
),
@Mapping
(
target
=
"ibizordername"
,
source
=
"ibizordername"
),
@Mapping
(
target
=
"ordertype"
,
source
=
"ordertype"
),
@Mapping
(
target
=
"ordertime"
,
source
=
"ordertime"
),
@Mapping
(
target
=
"ibizordername"
,
source
=
"ibizordername"
),
@Mapping
(
target
=
"orderuid"
,
source
=
"orderuid"
),
})
@BeanMapping
(
ignoreByDefault
=
true
)
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
7edee24e
...
...
@@ -344,7 +344,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-5
2
6-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-5
3
6-14"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
...
...
@@ -394,7 +394,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-1
1
3-15"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-1
2
3-15"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
7edee24e
...
...
@@ -37,13 +37,13 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-5
2
6-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-5
3
6-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-1
1
3-9"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-1
2
3-9"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDERDETAIL"
>
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
7edee24e
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录