Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
notes2.0
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zjm
notes2.0
Commits
0411f4d0
提交
0411f4d0
authored
4月 13, 2020
作者:
gongwenjie
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'gwj' 到 'master'
Gwj 查看合并请求
!89
上级
7558ca15
65f4cc66
流水线
#135
已失败 于阶段
变更
3
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
29 行增加
和
2 行删除
+29
-2
DepartmentExl.java
...com/zjty/tynotes/attendance/entity/exl/DepartmentExl.java
+22
-2
UserAttenVo.java
...va/com/zjty/tynotes/attendance/entity/vo/UserAttenVo.java
+4
-0
AttendanceDetailsServiceImpl.java
...attendance/service/impl/AttendanceDetailsServiceImpl.java
+3
-0
没有找到文件。
notes-attendance/src/main/java/com/zjty/tynotes/attendance/entity/exl/DepartmentExl.java
浏览文件 @
0411f4d0
...
...
@@ -35,6 +35,26 @@ public class DepartmentExl {
@Excel
(
name
=
"出差天数"
,
orderNum
=
"7"
,
width
=
20
)
private
Float
outWorkDay
;
@Excel
(
name
=
"请假天数"
,
orderNum
=
"8"
,
width
=
20
)
private
Float
offFromWorkDay
;
@Excel
(
name
=
"病假天数"
,
orderNum
=
"8"
,
width
=
20
)
private
Float
sickLeaveDay
;
@Excel
(
name
=
"事假天数"
,
orderNum
=
"9"
,
width
=
20
)
private
Integer
thingLeaveDay
;
@Excel
(
name
=
"旷工天数"
,
orderNum
=
"10"
,
width
=
20
)
private
Float
absenteeismDay
;
@Excel
(
name
=
"迟到15分钟"
,
orderNum
=
"11"
,
width
=
20
)
private
Integer
lateOne
;
@Excel
(
name
=
"迟到一小时"
,
orderNum
=
"12"
,
width
=
20
)
private
Integer
lateTwo
;
@Excel
(
name
=
"迟到半天"
,
orderNum
=
"13"
,
width
=
20
)
private
Integer
lateThree
;
@Excel
(
name
=
"迟到一天"
,
orderNum
=
"14"
,
width
=
20
)
private
Integer
lateFour
;
}
notes-attendance/src/main/java/com/zjty/tynotes/attendance/entity/vo/UserAttenVo.java
浏览文件 @
0411f4d0
...
...
@@ -55,6 +55,9 @@ public class UserAttenVo {
@ApiModelProperty
(
value
=
"病假天数"
,
example
=
"1"
)
private
Float
sickLeaveDay
;
@ApiModelProperty
(
value
=
"事假天数"
,
example
=
"1"
)
private
Float
thingDay
;
@ApiModelProperty
(
value
=
"加班时长"
,
example
=
"1"
)
private
Integer
overWorkHours
;
...
...
@@ -73,6 +76,7 @@ public class UserAttenVo {
this
.
leaveEarlyDay
=
0
;
this
.
outWorkDay
=
0
f
;
this
.
sickLeaveDay
=
0
f
;
this
.
thingDay
=
0
f
;
this
.
overWorkHours
=
0
;
this
.
absenteeismDay
=
0
f
;
}
...
...
notes-attendance/src/main/java/com/zjty/tynotes/attendance/service/impl/AttendanceDetailsServiceImpl.java
浏览文件 @
0411f4d0
...
...
@@ -83,6 +83,9 @@ public class AttendanceDetailsServiceImpl implements AttendanceDetailsService {
if
(
attendanceDetails
.
getSickLeaveDay
()!=
null
){
userAttenVo
.
setSickLeaveDay
(
userAttenVo
.
getSickLeaveDay
()+
attendanceDetails
.
getSickLeaveDay
());
}
if
(
attendanceDetails
.
getThingLeaveDay
()!=
null
){
userAttenVo
.
setThingDay
(
userAttenVo
.
getThingDay
()+
attendanceDetails
.
getThingLeaveDay
());
}
if
((
"0"
).
equals
(
attendanceDetails
.
getIsLateDay
())){
if
(
attendanceDetails
.
getLateStatus
().
equals
(
"0"
)){
userAttenVo
.
setLateOne
(
userAttenVo
.
getLateOne
()+
1
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论