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
8631caac
Commit
8631caac
authored
Jul 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改考勤汇总
parent
971dd558
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/MockDataController.java
...c/main/java/com/mortals/xhx/busiz/MockDataController.java
+26
-26
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/MockDataController.java
View file @
8631caac
...
...
@@ -252,19 +252,19 @@ public class MockDataController {
statEntity
.
setStaffId
(
item
.
getId
());
statEntity
.
setStaffName
(
item
.
getName
());
BigDecimal
attendScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
statEntity
.
setAttendScoreAdd
(
attendScoreAdd
);
statEntity
.
setAttendScoreSub
(
attendScoreSub
);
...
...
@@ -326,19 +326,19 @@ public class MockDataController {
statEntity
.
setDeptName
(
item
.
getDeptName
());
int
personNum
=
staffService
.
count
(
new
StaffQuery
().
deptId
(
item
.
getId
()),
null
);
BigDecimal
attendScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
2
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreAdd
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
attendScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
reviewScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
complainScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
goworkScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
effectScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
BigDecimal
otherScoreSub
=
RandomUtil
.
randomBigDecimal
(
BigDecimal
.
ZERO
,
new
BigDecimal
(
"5"
)).
multiply
(
new
BigDecimal
(
personNum
)).
setScale
(
1
,
BigDecimal
.
ROUND_CEILING
);
statEntity
.
setAttendScoreAdd
(
attendScoreAdd
);
statEntity
.
setAttendScoreSub
(
attendScoreSub
);
...
...
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