Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz人力资源
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz人力资源
提交
6d2314dd
提交
6d2314dd
编写于
8月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jackwang 部署微服务应用
上级
c20b5f83
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
51 行增加
和
5 行删除
+51
-5
hremployee.ts
app_PIM/src/interface/entity/hremployee.ts
+8
-0
hremployee_en_US.ts
...src/locale/lanres/entities/hremployee/hremployee_en_US.ts
+1
-0
hremployee_zh_CN.ts
...src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
+1
-0
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+3
-0
ef-001-form.html
...rc/widgets/hromhierarchy-cat/ef-001-form/ef-001-form.html
+2
-2
HREmployee.java
...b/humanresource/core/humanresource/domain/HREmployee.java
+15
-0
h2_table.xml
humanresource-core/src/main/resources/liquibase/h2_table.xml
+2
-0
HREmployeeMapper.xml
...rces/mapper/humanresource/hremployee/HREmployeeMapper.xml
+3
-3
HREmployeeDTO.java
...ava/cn/ibizlab/humanresource/hrapi/dto/HREmployeeDTO.java
+16
-0
未找到文件。
app_PIM/src/interface/entity/hremployee.ts
浏览文件 @
6d2314dd
...
@@ -61,4 +61,12 @@ export interface HREmployee {
...
@@ -61,4 +61,12 @@ export interface HREmployee {
* @memberof HREmployee
* @memberof HREmployee
*/
*/
organizationid
?:
any
;
organizationid
?:
any
;
/**
* 员工编号
*
* @returns {*}
* @memberof HREmployee
*/
employeecode
?:
any
;
}
}
\ No newline at end of file
app_PIM/src/locale/lanres/entities/hremployee/hremployee_en_US.ts
浏览文件 @
6d2314dd
...
@@ -8,6 +8,7 @@ export default {
...
@@ -8,6 +8,7 @@ export default {
updatedate
:
"更新时间"
,
updatedate
:
"更新时间"
,
createdate
:
"建立时间"
,
createdate
:
"建立时间"
,
organizationid
:
"组织"
,
organizationid
:
"组织"
,
employeecode
:
"员工编号"
,
},
},
views
:
{
views
:
{
pickupgridview
:
{
pickupgridview
:
{
...
...
app_PIM/src/locale/lanres/entities/hremployee/hremployee_zh_CN.ts
浏览文件 @
6d2314dd
...
@@ -7,6 +7,7 @@ export default {
...
@@ -7,6 +7,7 @@ export default {
updatedate
:
"更新时间"
,
updatedate
:
"更新时间"
,
createdate
:
"建立时间"
,
createdate
:
"建立时间"
,
organizationid
:
"组织"
,
organizationid
:
"组织"
,
employeecode
:
"员工编号"
,
},
},
views
:
{
views
:
{
pickupgridview
:
{
pickupgridview
:
{
...
...
app_PIM/src/widgets/hremployee/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
浏览文件 @
6d2314dd
...
@@ -36,6 +36,9 @@ export default class PickupViewpickupviewpanelModel {
...
@@ -36,6 +36,9 @@ export default class PickupViewpickupviewpanelModel {
{
{
name
:
'organizationid'
,
name
:
'organizationid'
,
},
},
{
name
:
'employeecode'
,
},
]
]
}
}
...
...
app_PIM/src/widgets/hromhierarchy-cat/ef-001-form/ef-001-form.html
浏览文件 @
6d2314dd
...
@@ -35,7 +35,7 @@
...
@@ -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
: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"
/>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.grouppanel1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<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
<app-form-druipart
:formState=
"formState"
:formState=
"formState"
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
viewname=
'hromhierarchy-tree-exp-view'
viewname=
'hromhierarchy-tree-exp-view'
:data=
"JSON.stringify(this.data)"
:data=
"JSON.stringify(this.data)"
@
drdatasaved=
"drdatasaved($event)"
@
drdatasaved=
"drdatasaved($event)"
style=
"overflow: auto;"
>
style=
"
height:600px;
overflow: auto;"
>
</app-form-druipart>
</app-form-druipart>
</i-col>
</i-col>
...
...
humanresource-core/src/main/java/cn/ibizlab/humanresource/core/humanresource/domain/HREmployee.java
浏览文件 @
6d2314dd
...
@@ -96,6 +96,13 @@ public class HREmployee extends EntityMP implements Serializable {
...
@@ -96,6 +96,13 @@ public class HREmployee extends EntityMP implements Serializable {
@JSONField
(
name
=
"organizationid"
)
@JSONField
(
name
=
"organizationid"
)
@JsonProperty
(
"organizationid"
)
@JsonProperty
(
"organizationid"
)
private
String
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 {
...
@@ -123,6 +130,14 @@ public class HREmployee extends EntityMP implements Serializable {
this
.
modify
(
"organizationid"
,
organizationid
);
this
.
modify
(
"organizationid"
,
organizationid
);
}
}
/**
* 设置 [员工编号]
*/
public
void
setEmployeecode
(
String
employeecode
){
this
.
employeecode
=
employeecode
;
this
.
modify
(
"employeecode"
,
employeecode
);
}
}
}
...
...
humanresource-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
6d2314dd
...
@@ -169,6 +169,8 @@
...
@@ -169,6 +169,8 @@
</column>
</column>
<column
name=
"ORGANIZATIONID"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"ORGANIZATIONID"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
<column
name=
"EMPLOYEECODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</createTable>
</changeSet>
</changeSet>
...
...
humanresource-core/src/main/resources/mapper/humanresource/hremployee/HREmployeeMapper.xml
浏览文件 @
6d2314dd
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"HREmployeeResultMap"
databaseId=
"mysql"
>
<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.`EMPLOYEE
CODE`, t1.`EMPLOYEE
ID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1 ) t1 where employeeid=#{id}]]>
</select>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<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.`EMPLOYEE
CODE`, t1.`EMPLOYEE
ID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
]]>
]]>
</sql>
</sql>
<!--数据查询[View]-->
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<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.`EMPLOYEE
CODE`, t1.`EMPLOYEE
ID`, t1.`EMPLOYEENAME`, t1.`ORGANIZATIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `EMPLOYEE` t1
]]>
]]>
</sql>
</sql>
</mapper>
</mapper>
...
...
humanresource-provider/humanresource-provider-hrapi/src/main/java/cn/ibizlab/humanresource/hrapi/dto/HREmployeeDTO.java
浏览文件 @
6d2314dd
...
@@ -82,6 +82,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
...
@@ -82,6 +82,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
@JsonProperty
(
"organizationid"
)
@JsonProperty
(
"organizationid"
)
private
String
organizationid
;
private
String
organizationid
;
/**
* 属性 [EMPLOYEECODE]
*
*/
@JSONField
(
name
=
"employeecode"
)
@JsonProperty
(
"employeecode"
)
private
String
employeecode
;
/**
/**
* 设置 [EMPLOYEENAME]
* 设置 [EMPLOYEENAME]
...
@@ -99,6 +107,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
...
@@ -99,6 +107,14 @@ public class HREmployeeDTO extends DTOBase implements Serializable {
this
.
modify
(
"organizationid"
,
organizationid
);
this
.
modify
(
"organizationid"
,
organizationid
);
}
}
/**
* 设置 [EMPLOYEECODE]
*/
public
void
setEmployeecode
(
String
employeecode
){
this
.
employeecode
=
employeecode
;
this
.
modify
(
"employeecode"
,
employeecode
);
}
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录