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
232e389a
Commit
232e389a
authored
Jul 15, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加照片海康下载
parent
7a7e9e0a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/AppealApiController.java
...ava/com/mortals/xhx/busiz/h5/web/AppealApiController.java
+3
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
...va/com/mortals/xhx/busiz/h5/web/PerformApiController.java
+2
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/AppealApiController.java
View file @
232e389a
...
...
@@ -82,9 +82,9 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
try
{
//todo 查询当前登录人的绩效分数
AppealStatInfo
appealStatInfo
=
new
AppealStatInfo
();
appealStatInfo
.
setTotalScore
(
new
BigDecimal
(
"10.52"
));
appealStatInfo
.
setTotalScore
(
new
BigDecimal
(
"10.52"
)
.
setScale
(
1
,
BigDecimal
.
ROUND_HALF_UP
)
);
appealStatInfo
.
setTotalTimes
(
12
);
appealStatInfo
.
setTodayScore
(
new
BigDecimal
(
"2.5"
));
appealStatInfo
.
setTodayScore
(
new
BigDecimal
(
"2.5"
)
.
setScale
(
1
,
BigDecimal
.
ROUND_HALF_UP
)
);
appealStatInfo
.
setTodayTimes
(
3
);
rest
.
setData
(
appealStatInfo
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
...
...
@@ -262,7 +262,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
new
BigDecimal
(
15.52
).
setScale
(
1
,
BigDecimal
.
ROUND_HALF_UP
).
toString
());
}
}
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
View file @
232e389a
...
...
@@ -89,9 +89,9 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
try
{
//todo
PerformStatInfo
performStatInfo
=
new
PerformStatInfo
();
performStatInfo
.
setTotalScore
(
RandomUtil
.
randomBigDecimal
(
new
BigDecimal
(
"15"
),
new
BigDecimal
(
"45"
)));
performStatInfo
.
setTotalScore
(
RandomUtil
.
randomBigDecimal
(
new
BigDecimal
(
"15"
),
new
BigDecimal
(
"45"
))
.
setScale
(
1
,
BigDecimal
.
ROUND_HALF_UP
)
);
performStatInfo
.
setTotalTimes
(
RandomUtil
.
randomInt
(
10
,
40
));
performStatInfo
.
setTodayScore
(
RandomUtil
.
randomBigDecimal
(
new
BigDecimal
(
"2"
),
new
BigDecimal
(
"10"
)));
performStatInfo
.
setTodayScore
(
RandomUtil
.
randomBigDecimal
(
new
BigDecimal
(
"2"
),
new
BigDecimal
(
"10"
))
.
setScale
(
1
,
BigDecimal
.
ROUND_HALF_UP
)
);
performStatInfo
.
setTodayTimes
(
RandomUtil
.
randomInt
(
10
));
rest
.
setData
(
performStatInfo
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
...
...
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