Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
7cfce50e
Commit
7cfce50e
authored
Jul 09, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改员工列表和用户列表
parent
d8a91550
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
294 additions
and
23 deletions
+294
-23
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/rsp/PerformDetailInfo.java
...ain/java/com/mortals/xhx/busiz/rsp/PerformDetailInfo.java
+179
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/web/AppealApiController.java
...n/java/com/mortals/xhx/busiz/web/AppealApiController.java
+16
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/web/PerformApiController.java
.../java/com/mortals/xhx/busiz/web/PerformApiController.java
+99
-13
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/rsp/PerformDetailInfo.java
View file @
7cfce50e
package
com.mortals.xhx.busiz.rsp
;
import
com.mortals.framework.annotation.Excel
;
import
lombok.Data
;
import
java.math.BigDecimal
;
...
...
@@ -7,25 +8,48 @@ import java.util.Date;
@Data
public
class
PerformDetailInfo
{
/**
* id
*/
private
Long
id
;
/**
*
标题
*
记录ID
*/
private
String
title
;
private
Long
recordId
;
/**
*
扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
*
员工ID
*/
private
Integer
subMetho
d
;
private
Long
staffI
d
;
/**
*
扣分时间
*
员工姓名
*/
private
Date
errorTime
;
private
String
staffName
;
/**
* 工号
*/
private
String
workNum
;
/**
* 所属部门
*/
private
Long
deptId
;
/**
* 所属部门名称
*/
private
String
deptName
;
/**
* 所属考勤组ID
*/
private
Long
attendanceGroupId
;
/**
* 所属考勤组名称
*/
private
String
attendanceGroupName
;
/**
* 考勤时间
*/
private
Date
attendanceDate
;
/**
* 绩效规则id
*/
...
...
@@ -42,6 +66,153 @@ public class PerformDetailInfo {
* 扣分或增加分值
*/
private
BigDecimal
score
;
/**
* 上下班时间
*/
private
String
goOffTimeStr
;
/**
* 异常时间
*/
private
Date
errorTime
;
/**
* 实际打卡时间
*/
private
Date
actualAttendTime
;
/**
* 异常处理结果
*/
private
String
errorResult
;
/**
* 核查人员
*/
private
String
checkPerson
;
/**
* 核查时间
*/
private
Date
checkTime
;
/**
* 核查说明
*/
private
String
checkDesc
;
/**
* 核查结果
*/
private
String
checkResult
;
/**
* 处理状态(1.未处理,2.已处理)
*/
private
Integer
checkStatus
;
/**
* 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)
*/
private
Integer
subMethod
;
/**
* 说明
*/
private
String
remark
;
/**
* 附件名称,多个逗号分割
*/
private
String
fileNames
;
/**
* 附件下载地址,多个逗号分割
*/
private
String
filePaths
;
/**
* 评价结果(1.非常不满意,2.差评)
*/
private
Integer
reviewResult
;
/**
* 评价时间
*/
private
Date
reviewTime
;
/**
* 评价来源(窗口评价系统,导视系统,自助服务系统,微官网,其它)
*/
private
String
reviewSource
;
/**
* 评价设备
*/
private
String
reviewDevice
;
/**
* 投诉标题
*/
private
String
complainTitle
;
/**
* 投诉内容
*/
private
String
complainContent
;
/**
* 投诉人真实姓名
*/
private
String
complainRealName
;
/**
* 联系电话
*/
private
String
contact
;
/**
* 投诉时间
*/
private
Date
complainTime
;
/**
* 投诉来源
*/
private
String
complainSource
;
/**
* 投诉设备
*/
private
String
complainDevice
;
/**
* 办件编码
*/
private
String
goworkCode
;
/**
* 办件所属部门
*/
private
String
goworkDepts
;
/**
* 事项名称
*/
private
String
matterlName
;
/**
* 办理时间
*/
private
Date
goworkTime
;
/**
* 违规类型(1.脱岗,2.离岗,3.玩手机,4.睡觉)
*/
private
Integer
irregularType
;
/**
* 发生时间
*/
private
Date
happenTime
;
/**
* 持续时间,秒
*/
private
Integer
duration
;
/**
* 报警时间
*/
private
Date
alarmTime
;
/**
* 图片凭证地址
*/
private
String
snapPath
;
/**
* 窗口编号
*/
private
String
windowNum
;
/**
* 违规类型(1.工作纪律)
*/
private
Integer
irregularOtherType
;
}
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/web/AppealApiController.java
View file @
7cfce50e
package
com.mortals.xhx.busiz.web
;
import
java.math.BigDecimal
;
import
cn.hutool.core.date.DateUtil
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.web.BaseJsonBodyController
;
import
com.mortals.xhx.busiz.req.AppealReq
;
import
com.mortals.xhx.busiz.req.PerformReq
;
...
...
@@ -25,6 +28,9 @@ import org.springframework.web.bind.annotation.RestController;
import
java.util.Date
;
import
java.util.List
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
ErrorCode
.
ERROR_TOKEN_EXPIRED
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
ErrorCode
.
ERROR_TOKEN_EXPIRED_CONTENT
;
/**
* h5 申诉
*
...
...
@@ -50,8 +56,6 @@ public class AppealApiController extends BaseJsonBodyController {
private
CheckOtherRecordService
checkOtherRecordService
;
/**
* 个人申诉绩效统计
*/
...
...
@@ -59,8 +63,18 @@ public class AppealApiController extends BaseJsonBodyController {
public
Rest
<
AppealStatInfo
>
appealStat
()
{
String
busiDesc
=
"H5个人申诉绩效统计"
;
Rest
<
AppealStatInfo
>
rest
=
Rest
.
ok
(
busiDesc
+
" 【成功】"
);
Context
context
=
this
.
getContext
();
if
(
ObjectUtils
.
isEmpty
(
context
)
||
ObjectUtils
.
isEmpty
(
context
.
getUser
()))
{
throw
new
AppException
(
ERROR_TOKEN_EXPIRED
,
ERROR_TOKEN_EXPIRED_CONTENT
);
}
try
{
//todo 查询当前登录人的绩效分数
AppealStatInfo
appealStatInfo
=
new
AppealStatInfo
();
appealStatInfo
.
setTotalScore
(
new
BigDecimal
(
"10.52"
));
appealStatInfo
.
setTotalTimes
(
12
);
appealStatInfo
.
setTodayScore
(
new
BigDecimal
(
"2.5"
));
appealStatInfo
.
setTodayTimes
(
3
);
rest
.
setData
(
appealStatInfo
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
}
catch
(
Exception
e
)
{
log
.
error
(
busiDesc
,
e
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/web/PerformApiController.java
View file @
7cfce50e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment