提交 65dde022 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 c574f232
......@@ -223,6 +223,14 @@
"viewname": "IBIZUNIProductIndexPickupDataView",
"viewtag": "26707fe400fb3e535f06015ab393793b"
},
"ibizappvieweditview": {
"title": "应用视图数据信息编辑视图",
"caption": "应用视图数据信息",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZAPPVIEWEditView",
"viewtag": "27425bd0f023912440422d4ee90bb370"
},
"ibizorderdetaillistview": {
"title": "订单明细列表视图",
"caption": "订单明细",
......
......@@ -7,6 +7,51 @@ export default {
updateman: "更新人",
createdate: "建立时间",
updatedate: "更新时间",
ibizappviewtype: "应用实体视图类型",
ibizappviewtype: "应用视图类型",
ibizapppartsname: "应用部件名称",
ibizapppartstype: "应用部件类型",
},
views: {
editview: {
caption: "应用视图数据信息",
title: "应用视图数据信息编辑视图",
},
},
main_form: {
details: {
group1: "应用视图数据信息基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "应用视图数据信息标识",
srfmajortext: "应用视图名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
ibizappviewname: "应用视图名称",
ibizappviewtype: "应用视图类型",
ibizapppartsname: "应用部件名称",
ibizapppartstype: "应用部件类型",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
ibizappviewid: "应用视图数据信息标识",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
};
\ No newline at end of file
......@@ -6,6 +6,51 @@ export default {
updateman: "更新人",
createdate: "建立时间",
updatedate: "更新时间",
ibizappviewtype: "应用实体视图类型",
ibizappviewtype: "应用视图类型",
ibizapppartsname: "应用部件名称",
ibizapppartstype: "应用部件类型",
},
views: {
editview: {
caption: "应用视图数据信息",
title: "应用视图数据信息编辑视图",
},
},
main_form: {
details: {
group1: "应用视图数据信息基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "应用视图数据信息标识",
srfmajortext: "应用视图名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
ibizappviewname: "应用视图名称",
ibizappviewtype: "应用视图类型",
ibizapppartsname: "应用部件名称",
ibizapppartstype: "应用部件类型",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
ibizappviewid: "应用视图数据信息标识",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
};
\ No newline at end of file
......@@ -231,6 +231,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZUNIProductIndexPickupDataView",
"viewtag": "26707fe400fb3e535f06015ab393793b"
},
"ibizappvieweditview": {
"title": "应用视图数据信息编辑视图",
"caption": "应用视图数据信息",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZAPPVIEWEditView",
"viewtag": "27425bd0f023912440422d4ee90bb370"
},
"ibizorderdetaillistview": {
"title": "订单明细列表视图",
"caption": "订单明细",
......
......@@ -96,6 +96,7 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
* @memberof IBIZAPPVIEWUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizappviews',component:'ibizappviewedit-view'});
}
/**
......
......@@ -14,7 +14,7 @@
:viewparams="viewparams"
updateAction="NextAction"
removeAction=""
loadAction="Get"
loadAction="PreAction"
@save="wizardpanel_form_FirstForm_save"
@load="wizardpanel_form_FirstForm_load"
name='wizardpanel_form_FirstForm'
......@@ -28,7 +28,7 @@
:viewparams="viewparams"
updateAction="NextAction"
removeAction=""
loadAction="Get"
loadAction="PreAction"
@save="wizardpanel_form_SecondForm_save"
@load="wizardpanel_form_SecondForm_load"
name='wizardpanel_form_SecondForm'
......@@ -42,7 +42,7 @@
:viewparams="viewparams"
updateAction="NextAction"
removeAction=""
loadAction="Get"
loadAction="PreAction"
@save="wizardpanel_form_ThirdForm_save"
@load="wizardpanel_form_ThirdForm_load"
name='wizardpanel_form_ThirdForm'
......@@ -418,9 +418,9 @@ export default class StateFieldGuideBase extends Vue implements ControlInterface
* @memberof StateFieldGuideBase
*/
public regFormActions() {
this.regFormAction('wizardpanel_form_FirstForm',{loadAction:"Get",saveAction:'NextAction',actions:['NEXT']},'step1');
this.regFormAction('wizardpanel_form_SecondForm',{loadAction:"Get",preAction:'PreAction',saveAction:'NextAction',actions:['PREV','NEXT']},'step2');
this.regFormAction('wizardpanel_form_ThirdForm',{loadAction:"Get",preAction:'PreAction',saveAction:'NextAction',actions:['PREV','FINISH']},'step3');
this.regFormAction('wizardpanel_form_FirstForm',{loadAction:"PreAction",saveAction:'NextAction',actions:['NEXT']},'step1');
this.regFormAction('wizardpanel_form_SecondForm',{loadAction:"PreAction",preAction:'PreAction',saveAction:'NextAction',actions:['PREV','NEXT']},'step2');
this.regFormAction('wizardpanel_form_ThirdForm',{loadAction:"PreAction",preAction:'PreAction',saveAction:'NextAction',actions:['PREV','FINISH']},'step3');
}
/**
......
......@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pweb
cd demo-app/demo-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-app-web.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -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-app-web.jar
EXPOSE 51001
EXPOSE 8080
ADD demo-app-web.jar /demo-app-web.jar
......@@ -3,24 +3,9 @@ services:
demo-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
ports:
- "51001:51001"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51001
- 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:
......
......@@ -93,12 +93,26 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
@JsonProperty("updatedate")
private Timestamp updatedate;
/**
* 应用实体视图类型
* 应用视图类型
*/
@TableField(value = "ibizappviewtype")
@JSONField(name = "ibizappviewtype")
@JsonProperty("ibizappviewtype")
private String ibizappviewtype;
/**
* 应用部件名称
*/
@TableField(value = "ibizapppartsname")
@JSONField(name = "ibizapppartsname")
@JsonProperty("ibizapppartsname")
private String ibizapppartsname;
/**
* 应用部件类型
*/
@TableField(value = "ibizapppartstype")
@JSONField(name = "ibizapppartstype")
@JsonProperty("ibizapppartstype")
private String ibizapppartstype;
......@@ -111,13 +125,29 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
}
/**
* 设置 [应用实体视图类型]
* 设置 [应用视图类型]
*/
public void setIbizappviewtype(String ibizappviewtype) {
this.ibizappviewtype = ibizappviewtype;
this.modify("ibizappviewtype", ibizappviewtype);
}
/**
* 设置 [应用部件名称]
*/
public void setIbizapppartsname(String ibizapppartsname) {
this.ibizapppartsname = ibizapppartsname;
this.modify("ibizapppartsname", ibizapppartsname);
}
/**
* 设置 [应用部件类型]
*/
public void setIbizapppartstype(String ibizapppartstype) {
this.ibizapppartstype = ibizapppartstype;
this.modify("ibizapppartstype", ibizapppartstype);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
......
......@@ -41,6 +41,10 @@
</column>
<column name="IBIZAPPVIEWTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZAPPPARTSNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="IBIZAPPPARTSTYPE" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBIZAPPVIEWResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPPARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPPARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPPARTSNAME`, t1.`IBIZAPPPARTSTYPE`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]>
</sql>
</mapper>
......
......@@ -212,7 +212,35 @@
{
"fieldname":"IBIZAPPVIEWTYPE" ,
"codename":"Ibizappviewtype",
"field_logic_name":"应用实体视图类型",
"field_logic_name":"应用视图类型",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"IBIZAPPPARTSNAME" ,
"codename":"Ibizapppartsname",
"field_logic_name":"应用部件名称",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"IBIZAPPPARTSTYPE" ,
"codename":"Ibizapppartstype",
"field_logic_name":"应用部件类型",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
......
......@@ -92,6 +92,24 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizappviewtype;
/**
* 属性 [IBIZAPPPARTSNAME]
*
*/
@JSONField(name = "ibizapppartsname")
@JsonProperty("ibizapppartsname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizapppartsname;
/**
* 属性 [IBIZAPPPARTSTYPE]
*
*/
@JSONField(name = "ibizapppartstype")
@JsonProperty("ibizapppartstype")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizapppartstype;
/**
* 设置 [IBIZAPPVIEWNAME]
......@@ -109,6 +127,22 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
this.modify("ibizappviewtype",ibizappviewtype);
}
/**
* 设置 [IBIZAPPPARTSNAME]
*/
public void setIbizapppartsname(String ibizapppartsname){
this.ibizapppartsname = ibizapppartsname ;
this.modify("ibizapppartsname",ibizapppartsname);
}
/**
* 设置 [IBIZAPPPARTSTYPE]
*/
public void setIbizapppartstype(String ibizapppartstype){
this.ibizapppartstype = ibizapppartstype ;
this.modify("ibizapppartstype",ibizapppartstype);
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册