Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
afe604fc
提交
afe604fc
编写于
12月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 部署微服务接口 [后台服务,接口示例]
上级
7819cb06
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
793 行增加
和
5 行删除
+793
-5
config.xml
config.xml
+5
-0
MicroComponent.java
...in/java/cn/ibizlab/core/sample/domain/MicroComponent.java
+240
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+32
-0
MicroComponentMapper.xml
...ces/mapper/sample/microcomponent/MicroComponentMapper.xml
+3
-3
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+224
-0
Dockerfile
...provider/demo-provider-demoapi/src/main/docker/Dockerfile
+1
-1
demo-provider-demoapi.yaml
...ovider-demoapi/src/main/docker/demo-provider-demoapi.yaml
+16
-1
MicroComponentDTO.java
...c/main/java/cn/ibizlab/demoapi/dto/MicroComponentDTO.java
+272
-0
未找到文件。
config.xml
浏览文件 @
afe604fc
...
...
@@ -37,6 +37,11 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pdemoapi
cd demo-provider/demo-provider-demoapi
mvn -Pdemoapi docker:build
mvn -Pdemoapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-provider-demoapi.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/domain/MicroComponent.java
浏览文件 @
afe604fc
...
...
@@ -260,6 +260,118 @@ public class MicroComponent extends EntityMP implements Serializable {
@JSONField
(
name
=
"field24"
)
@JsonProperty
(
"field24"
)
private
String
field24
;
/**
* 属性25
*/
@TableField
(
value
=
"field25"
)
@JSONField
(
name
=
"field25"
)
@JsonProperty
(
"field25"
)
private
String
field25
;
/**
* 属性26
*/
@TableField
(
value
=
"field26"
)
@JSONField
(
name
=
"field26"
)
@JsonProperty
(
"field26"
)
private
String
field26
;
/**
* 属性27
*/
@TableField
(
value
=
"field27"
)
@JSONField
(
name
=
"field27"
)
@JsonProperty
(
"field27"
)
private
String
field27
;
/**
* 属性28
*/
@TableField
(
value
=
"field28"
)
@JSONField
(
name
=
"field28"
)
@JsonProperty
(
"field28"
)
private
String
field28
;
/**
* 属性29
*/
@TableField
(
value
=
"field29"
)
@JSONField
(
name
=
"field29"
)
@JsonProperty
(
"field29"
)
private
String
field29
;
/**
* 属性30
*/
@TableField
(
value
=
"field30"
)
@JSONField
(
name
=
"field30"
)
@JsonProperty
(
"field30"
)
private
String
field30
;
/**
* 属性31
*/
@TableField
(
value
=
"field31"
)
@JSONField
(
name
=
"field31"
)
@JsonProperty
(
"field31"
)
private
String
field31
;
/**
* 属性32
*/
@TableField
(
value
=
"field32"
)
@JSONField
(
name
=
"field32"
)
@JsonProperty
(
"field32"
)
private
String
field32
;
/**
* 属性33
*/
@TableField
(
value
=
"field33"
)
@JSONField
(
name
=
"field33"
)
@JsonProperty
(
"field33"
)
private
String
field33
;
/**
* 属性34
*/
@TableField
(
value
=
"field34"
)
@JSONField
(
name
=
"field34"
)
@JsonProperty
(
"field34"
)
private
String
field34
;
/**
* 属性35
*/
@TableField
(
value
=
"field35"
)
@JSONField
(
name
=
"field35"
)
@JsonProperty
(
"field35"
)
private
String
field35
;
/**
* 属性36
*/
@TableField
(
value
=
"field36"
)
@JSONField
(
name
=
"field36"
)
@JsonProperty
(
"field36"
)
private
String
field36
;
/**
* 属性37
*/
@TableField
(
value
=
"field37"
)
@JSONField
(
name
=
"field37"
)
@JsonProperty
(
"field37"
)
private
String
field37
;
/**
* 属性38
*/
@TableField
(
value
=
"field38"
)
@JSONField
(
name
=
"field38"
)
@JsonProperty
(
"field38"
)
private
String
field38
;
/**
* 属性39
*/
@TableField
(
value
=
"field39"
)
@JSONField
(
name
=
"field39"
)
@JsonProperty
(
"field39"
)
private
String
field39
;
/**
* 属性40
*/
@TableField
(
value
=
"field40"
)
@JSONField
(
name
=
"field40"
)
@JsonProperty
(
"field40"
)
private
String
field40
;
...
...
@@ -463,6 +575,134 @@ public class MicroComponent extends EntityMP implements Serializable {
this
.
modify
(
"field24"
,
field24
);
}
/**
* 设置 [属性25]
*/
public
void
setField25
(
String
field25
)
{
this
.
field25
=
field25
;
this
.
modify
(
"field25"
,
field25
);
}
/**
* 设置 [属性26]
*/
public
void
setField26
(
String
field26
)
{
this
.
field26
=
field26
;
this
.
modify
(
"field26"
,
field26
);
}
/**
* 设置 [属性27]
*/
public
void
setField27
(
String
field27
)
{
this
.
field27
=
field27
;
this
.
modify
(
"field27"
,
field27
);
}
/**
* 设置 [属性28]
*/
public
void
setField28
(
String
field28
)
{
this
.
field28
=
field28
;
this
.
modify
(
"field28"
,
field28
);
}
/**
* 设置 [属性29]
*/
public
void
setField29
(
String
field29
)
{
this
.
field29
=
field29
;
this
.
modify
(
"field29"
,
field29
);
}
/**
* 设置 [属性30]
*/
public
void
setField30
(
String
field30
)
{
this
.
field30
=
field30
;
this
.
modify
(
"field30"
,
field30
);
}
/**
* 设置 [属性31]
*/
public
void
setField31
(
String
field31
)
{
this
.
field31
=
field31
;
this
.
modify
(
"field31"
,
field31
);
}
/**
* 设置 [属性32]
*/
public
void
setField32
(
String
field32
)
{
this
.
field32
=
field32
;
this
.
modify
(
"field32"
,
field32
);
}
/**
* 设置 [属性33]
*/
public
void
setField33
(
String
field33
)
{
this
.
field33
=
field33
;
this
.
modify
(
"field33"
,
field33
);
}
/**
* 设置 [属性34]
*/
public
void
setField34
(
String
field34
)
{
this
.
field34
=
field34
;
this
.
modify
(
"field34"
,
field34
);
}
/**
* 设置 [属性35]
*/
public
void
setField35
(
String
field35
)
{
this
.
field35
=
field35
;
this
.
modify
(
"field35"
,
field35
);
}
/**
* 设置 [属性36]
*/
public
void
setField36
(
String
field36
)
{
this
.
field36
=
field36
;
this
.
modify
(
"field36"
,
field36
);
}
/**
* 设置 [属性37]
*/
public
void
setField37
(
String
field37
)
{
this
.
field37
=
field37
;
this
.
modify
(
"field37"
,
field37
);
}
/**
* 设置 [属性38]
*/
public
void
setField38
(
String
field38
)
{
this
.
field38
=
field38
;
this
.
modify
(
"field38"
,
field38
);
}
/**
* 设置 [属性39]
*/
public
void
setField39
(
String
field39
)
{
this
.
field39
=
field39
;
this
.
modify
(
"field39"
,
field39
);
}
/**
* 设置 [属性40]
*/
public
void
setField40
(
String
field40
)
{
this
.
field40
=
field40
;
this
.
modify
(
"field40"
,
field40
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
afe604fc
...
...
@@ -1343,6 +1343,38 @@
</column>
<column
name=
"FIELD24"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD25"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD26"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD27"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD28"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD29"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD30"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD31"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD32"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD33"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD34"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD35"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD36"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD37"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD38"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD39"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FIELD40"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</changeSet>
...
...
demo-core/src/main/resources/mapper/sample/microcomponent/MicroComponentMapper.xml
浏览文件 @
afe604fc
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"MicroComponentResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
3`, t1.`FIELD4
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1 ) t1 where microcomponentid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
25`, t1.`FIELD26`, t1.`FIELD27`, t1.`FIELD28`, t1.`FIELD29`, t1.`FIELD3`, t1.`FIELD30`, t1.`FIELD31`, t1.`FIELD32`, t1.`FIELD33`, t1.`FIELD34`, t1.`FIELD35`, t1.`FIELD36`, t1.`FIELD37`, t1.`FIELD38`, t1.`FIELD39`, t1.`FIELD4`, t1.`FIELD40
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1 ) t1 where microcomponentid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
3`, t1.`FIELD4
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
25`, t1.`FIELD26`, t1.`FIELD27`, t1.`FIELD28`, t1.`FIELD29`, t1.`FIELD3`, t1.`FIELD30`, t1.`FIELD31`, t1.`FIELD32`, t1.`FIELD33`, t1.`FIELD34`, t1.`FIELD35`, t1.`FIELD36`, t1.`FIELD37`, t1.`FIELD38`, t1.`FIELD39`, t1.`FIELD4`, t1.`FIELD40
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
3`, t1.`FIELD4
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD23`, t1.`FIELD24`, t1.`FIELD
25`, t1.`FIELD26`, t1.`FIELD27`, t1.`FIELD28`, t1.`FIELD29`, t1.`FIELD3`, t1.`FIELD30`, t1.`FIELD31`, t1.`FIELD32`, t1.`FIELD33`, t1.`FIELD34`, t1.`FIELD35`, t1.`FIELD36`, t1.`FIELD37`, t1.`FIELD38`, t1.`FIELD39`, t1.`FIELD4`, t1.`FIELD40
`, t1.`FIELD5`, t1.`FIELD6`, t1.`FIELD7`, t1.`FIELD8`, t1.`FIELD9`, t1.`MICROCOMPONENTID`, t1.`MICROCOMPONENTNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_MICROCOMPONENT` t1
]]>
</sql>
</mapper>
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
afe604fc
...
...
@@ -9129,6 +9129,230 @@
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD25"
,
"codename"
:
"Field25"
,
"field_logic_name"
:
"属性25"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD26"
,
"codename"
:
"Field26"
,
"field_logic_name"
:
"属性26"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD27"
,
"codename"
:
"Field27"
,
"field_logic_name"
:
"属性27"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD28"
,
"codename"
:
"Field28"
,
"field_logic_name"
:
"属性28"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD29"
,
"codename"
:
"Field29"
,
"field_logic_name"
:
"属性29"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD30"
,
"codename"
:
"Field30"
,
"field_logic_name"
:
"属性30"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD31"
,
"codename"
:
"Field31"
,
"field_logic_name"
:
"属性31"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD32"
,
"codename"
:
"Field32"
,
"field_logic_name"
:
"属性32"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD33"
,
"codename"
:
"Field33"
,
"field_logic_name"
:
"属性33"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD34"
,
"codename"
:
"Field34"
,
"field_logic_name"
:
"属性34"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD35"
,
"codename"
:
"Field35"
,
"field_logic_name"
:
"属性35"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD36"
,
"codename"
:
"Field36"
,
"field_logic_name"
:
"属性36"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD37"
,
"codename"
:
"Field37"
,
"field_logic_name"
:
"属性37"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD38"
,
"codename"
:
"Field38"
,
"field_logic_name"
:
"属性38"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD39"
,
"codename"
:
"Field39"
,
"field_logic_name"
:
"属性39"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"FIELD40"
,
"codename"
:
"Field40"
,
"field_logic_name"
:
"属性40"
,
"entity_name"
:
"MicroComponent"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
}
],
"subEntitys"
:[
...
...
demo-provider/demo-provider-demoapi/src/main/docker/Dockerfile
浏览文件 @
afe604fc
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-provider-demoapi.jar
EXPOSE
8081
EXPOSE
51000
ADD
demo-provider-demoapi.jar /demo-provider-demoapi.jar
demo-provider/demo-provider-demoapi/src/main/docker/demo-provider-demoapi.yaml
浏览文件 @
afe604fc
...
...
@@ -3,9 +3,24 @@ services:
demo-provider-demoapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/demo-provider-demoapi:latest
ports
:
-
"
8081:8081
"
-
"
51000:51000
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=51000
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
-
SPRING_DATASOURCE_PASSWORD=3d6@460A
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
-
NACOS=172.16.240.110:8848
-
SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
-
SEATA_ENABLED=true
deploy
:
resources
:
limits
:
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/MicroComponentDTO.java
浏览文件 @
afe604fc
...
...
@@ -299,6 +299,150 @@ public class MicroComponentDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field24
;
/**
* 属性 [FIELD25]
*
*/
@JSONField
(
name
=
"field25"
)
@JsonProperty
(
"field25"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field25
;
/**
* 属性 [FIELD26]
*
*/
@JSONField
(
name
=
"field26"
)
@JsonProperty
(
"field26"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field26
;
/**
* 属性 [FIELD27]
*
*/
@JSONField
(
name
=
"field27"
)
@JsonProperty
(
"field27"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field27
;
/**
* 属性 [FIELD28]
*
*/
@JSONField
(
name
=
"field28"
)
@JsonProperty
(
"field28"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field28
;
/**
* 属性 [FIELD29]
*
*/
@JSONField
(
name
=
"field29"
)
@JsonProperty
(
"field29"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field29
;
/**
* 属性 [FIELD30]
*
*/
@JSONField
(
name
=
"field30"
)
@JsonProperty
(
"field30"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field30
;
/**
* 属性 [FIELD31]
*
*/
@JSONField
(
name
=
"field31"
)
@JsonProperty
(
"field31"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field31
;
/**
* 属性 [FIELD32]
*
*/
@JSONField
(
name
=
"field32"
)
@JsonProperty
(
"field32"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field32
;
/**
* 属性 [FIELD33]
*
*/
@JSONField
(
name
=
"field33"
)
@JsonProperty
(
"field33"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field33
;
/**
* 属性 [FIELD34]
*
*/
@JSONField
(
name
=
"field34"
)
@JsonProperty
(
"field34"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field34
;
/**
* 属性 [FIELD35]
*
*/
@JSONField
(
name
=
"field35"
)
@JsonProperty
(
"field35"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field35
;
/**
* 属性 [FIELD36]
*
*/
@JSONField
(
name
=
"field36"
)
@JsonProperty
(
"field36"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field36
;
/**
* 属性 [FIELD37]
*
*/
@JSONField
(
name
=
"field37"
)
@JsonProperty
(
"field37"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field37
;
/**
* 属性 [FIELD38]
*
*/
@JSONField
(
name
=
"field38"
)
@JsonProperty
(
"field38"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field38
;
/**
* 属性 [FIELD39]
*
*/
@JSONField
(
name
=
"field39"
)
@JsonProperty
(
"field39"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field39
;
/**
* 属性 [FIELD40]
*
*/
@JSONField
(
name
=
"field40"
)
@JsonProperty
(
"field40"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
field40
;
/**
* 设置 [MICROCOMPONENTNAME]
...
...
@@ -500,6 +644,134 @@ public class MicroComponentDTO extends DTOBase implements Serializable {
this
.
modify
(
"field24"
,
field24
);
}
/**
* 设置 [FIELD25]
*/
public
void
setField25
(
String
field25
){
this
.
field25
=
field25
;
this
.
modify
(
"field25"
,
field25
);
}
/**
* 设置 [FIELD26]
*/
public
void
setField26
(
String
field26
){
this
.
field26
=
field26
;
this
.
modify
(
"field26"
,
field26
);
}
/**
* 设置 [FIELD27]
*/
public
void
setField27
(
String
field27
){
this
.
field27
=
field27
;
this
.
modify
(
"field27"
,
field27
);
}
/**
* 设置 [FIELD28]
*/
public
void
setField28
(
String
field28
){
this
.
field28
=
field28
;
this
.
modify
(
"field28"
,
field28
);
}
/**
* 设置 [FIELD29]
*/
public
void
setField29
(
String
field29
){
this
.
field29
=
field29
;
this
.
modify
(
"field29"
,
field29
);
}
/**
* 设置 [FIELD30]
*/
public
void
setField30
(
String
field30
){
this
.
field30
=
field30
;
this
.
modify
(
"field30"
,
field30
);
}
/**
* 设置 [FIELD31]
*/
public
void
setField31
(
String
field31
){
this
.
field31
=
field31
;
this
.
modify
(
"field31"
,
field31
);
}
/**
* 设置 [FIELD32]
*/
public
void
setField32
(
String
field32
){
this
.
field32
=
field32
;
this
.
modify
(
"field32"
,
field32
);
}
/**
* 设置 [FIELD33]
*/
public
void
setField33
(
String
field33
){
this
.
field33
=
field33
;
this
.
modify
(
"field33"
,
field33
);
}
/**
* 设置 [FIELD34]
*/
public
void
setField34
(
String
field34
){
this
.
field34
=
field34
;
this
.
modify
(
"field34"
,
field34
);
}
/**
* 设置 [FIELD35]
*/
public
void
setField35
(
String
field35
){
this
.
field35
=
field35
;
this
.
modify
(
"field35"
,
field35
);
}
/**
* 设置 [FIELD36]
*/
public
void
setField36
(
String
field36
){
this
.
field36
=
field36
;
this
.
modify
(
"field36"
,
field36
);
}
/**
* 设置 [FIELD37]
*/
public
void
setField37
(
String
field37
){
this
.
field37
=
field37
;
this
.
modify
(
"field37"
,
field37
);
}
/**
* 设置 [FIELD38]
*/
public
void
setField38
(
String
field38
){
this
.
field38
=
field38
;
this
.
modify
(
"field38"
,
field38
);
}
/**
* 设置 [FIELD39]
*/
public
void
setField39
(
String
field39
){
this
.
field39
=
field39
;
this
.
modify
(
"field39"
,
field39
);
}
/**
* 设置 [FIELD40]
*/
public
void
setField40
(
String
field40
){
this
.
field40
=
field40
;
this
.
modify
(
"field40"
,
field40
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录