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
3aeb3bfd
Commit
3aeb3bfd
authored
May 08, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时间参数
parent
fa027135
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordErrorController.java
...odule/attendance/web/AttendanceRecordErrorController.java
+7
-4
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordErrorController.java
View file @
3aeb3bfd
...
@@ -237,12 +237,12 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -237,12 +237,12 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
Context
context
=
this
.
getContext
();
Context
context
=
this
.
getContext
();
String
busiDesc
=
"保存"
+
this
.
getModuleDesc
();
String
busiDesc
=
"保存"
+
this
.
getModuleDesc
();
int
code
=
1
;
int
code
=
1
;
try
{
try
{
this
.
saveBefore
(
entity
,
model
,
context
);
this
.
saveBefore
(
entity
,
model
,
context
);
if
(
entity
.
newEntity
())
{
if
(
entity
.
newEntity
())
{
Class
<
AttendanceRecordErrorEntity
>
tClass
=
ReflectUtils
.
getClassGenricType
(
this
.
getClass
(),
1
);
Class
<
AttendanceRecordErrorEntity
>
tClass
=
ReflectUtils
.
getClassGenricType
(
this
.
getClass
(),
1
);
AttendanceRecordErrorEntity
initEntity
=
(
AttendanceRecordErrorEntity
)
tClass
.
newInstance
();
AttendanceRecordErrorEntity
initEntity
=
(
AttendanceRecordErrorEntity
)
tClass
.
newInstance
();
initEntity
.
initAttrValue
();
initEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
initEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
BeanUtils
.
copyProperties
(
entity
,
initEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
entity
=
initEntity
;
entity
=
initEntity
;
...
@@ -297,6 +297,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -297,6 +297,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
@Override
@Override
protected
int
editAfter
(
Long
id
,
Map
<
String
,
Object
>
model
,
AttendanceRecordErrorEntity
entity
,
Context
context
)
throws
AppException
{
protected
int
editAfter
(
Long
id
,
Map
<
String
,
Object
>
model
,
AttendanceRecordErrorEntity
entity
,
Context
context
)
throws
AppException
{
this
.
addDict
(
model
,
"errorStatus"
,
paramService
.
getParamBySecondOrganize
(
"AttendanceRecordDetail"
,
"goWorkResult"
));
this
.
addDict
(
model
,
"errorStatus"
,
paramService
.
getParamBySecondOrganize
(
"AttendanceRecordDetail"
,
"goWorkResult"
));
entity
.
setGoOffDateTime
(
null
);
return
super
.
editAfter
(
id
,
model
,
entity
,
context
);
return
super
.
editAfter
(
id
,
model
,
entity
,
context
);
}
}
...
@@ -331,6 +332,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -331,6 +332,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
/**
/**
* 从新生成已处理的绩效考勤核查数据
* 从新生成已处理的绩效考勤核查数据
*
* @param query
* @param query
* @return
* @return
*/
*/
...
@@ -343,7 +345,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -343,7 +345,7 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
Thread
thread
=
new
Thread
(
new
Runnable
()
{
Thread
thread
=
new
Thread
(
new
Runnable
()
{
@Override
@Override
public
void
run
()
{
public
void
run
()
{
service
.
doReprocess
(
query
,
context
);
service
.
doReprocess
(
query
,
context
);
}
}
});
});
thread
.
start
();
thread
.
start
();
...
@@ -352,11 +354,12 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
...
@@ -352,11 +354,12 @@ public class AttendanceRecordErrorController extends BaseCRUDJsonBodyMappingCont
/**
/**
* 查询当月异常考勤次数排行榜
* 查询当月异常考勤次数排行榜
*
* @return
* @return
*/
*/
@PostMapping
({
"month/top"
})
@PostMapping
({
"month/top"
})
@UnAuth
@UnAuth
public
Rest
<
Object
>
getMonthTopList
(){
public
Rest
<
Object
>
getMonthTopList
()
{
Rest
<
Object
>
ret
=
new
Rest
();
Rest
<
Object
>
ret
=
new
Rest
();
Map
<
String
,
Object
>
model
=
new
HashMap
();
Map
<
String
,
Object
>
model
=
new
HashMap
();
Context
context
=
this
.
getContext
();
Context
context
=
this
.
getContext
();
...
...
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