提交 6d2314dd 编写于 作者: ibizdev's avatar ibizdev

jackwang 部署微服务应用

上级 c20b5f83
......@@ -61,4 +61,12 @@ export interface HREmployee {
* @memberof HREmployee
*/
organizationid?: any;
/**
* 员工编号
*
* @returns {*}
* @memberof HREmployee
*/
employeecode?: any;
}
\ No newline at end of file
......@@ -8,6 +8,7 @@ export default {
updatedate: "更新时间",
createdate: "建立时间",
organizationid: "组织",
employeecode: "员工编号",
},
views: {
pickupgridview: {
......
......@@ -7,6 +7,7 @@ export default {
updatedate: "更新时间",
createdate: "建立时间",
organizationid: "组织",
employeecode: "员工编号",
},
views: {
pickupgridview: {
......
......@@ -36,6 +36,9 @@ export default class PickupViewpickupviewpanelModel {
{
name: 'organizationid',
},
{
name: 'employeecode',
},
]
}
......
......@@ -35,7 +35,7 @@
<app-form-group :model="detailsModel.grouppanel1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.hromhierarchycat.ef_001_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="true" >
<app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.grouppanel1" :data="data" :context="context" :viewparams="viewparams"/>
<row>
<i-col class="form-layout-container" v-show="detailsModel.druipart1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<i-col class="form-layout-container" v-show="detailsModel.druipart1.visible" :style="{'height': '600px !important',}" :lg="{ span: 24, offset: 0 }">
<app-form-druipart
:formState="formState"
......@@ -57,7 +57,7 @@
viewname='hromhierarchy-tree-exp-view'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style="overflow: auto;">
style="height:600px;overflow: auto;">
</app-form-druipart>
</i-col>
......
......@@ -96,6 +96,13 @@ public class HREmployee extends EntityMP implements Serializable {
@JSONField(name = "organizationid")
@JsonProperty("organizationid")
private String organizationid;
/**
* 员工编号
*/
@TableField(value = "employeecode")
@JSONField(name = "employeecode")
@JsonProperty("employeecode")
private String employeecode;
/**
*
......@@ -123,6 +130,14 @@ public class HREmployee extends EntityMP implements Serializable {
this.modify("organizationid",organizationid);
}
/**
* 设置 [员工编号]
*/
public void setEmployeecode(String employeecode){
this.employeecode = employeecode ;
this.modify("employeecode",employeecode);
}
}
......
......@@ -169,6 +169,8 @@
</column>
<column name="ORGANIZATIONID" remarks="" type="VARCHAR(60)">
</column>
<column name="EMPLOYEECODE" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="HREmployeeResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1 ) t1 where employeeid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEECODE`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1 ) t1 where employeeid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEECODE`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EMPLOYEECODE`, t1.`EMPLOYEEID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
]]>
</sql>
</mapper>
......
......@@ -82,6 +82,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
@JsonProperty("organizationid")
private String organizationid;
/**
* 属性 [EMPLOYEECODE]
*
*/
@JSONField(name = "employeecode")
@JsonProperty("employeecode")
private String employeecode;
/**
* 设置 [EMPLOYEENAME]
......@@ -99,6 +107,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
this.modify("organizationid",organizationid);
}
/**
* 设置 [EMPLOYEECODE]
*/
public void setEmployeecode(String employeecode){
this.employeecode = employeecode ;
this.modify("employeecode",employeecode);
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册