Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-web
Commits
bfe4d3a9
Commit
bfe4d3a9
authored
Nov 18, 2025
by
wangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小E数字提示问题
parent
4af356d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
cloud-web-manage/src/main/java/com/yizhi/application/dashboard/controller/PromptStatisticsController.java
+2
-2
cloud-web-student/src/main/java/com/yizhi/application/promptStatistics/PromptStatisticsController.java
+10
-2
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/dashboard/controller/PromptStatisticsController.java
View file @
bfe4d3a9
...
...
@@ -241,11 +241,11 @@ public class PromptStatisticsController {
// 设置状态为未完成(进行中)的考试
param
.
setState
(
1
);
param
.
setPageNo
(
1
);
param
.
setPageSize
(
1
000
);
// 设置一个较大的数值以获取所有未完成的考试
param
.
setPageSize
(
1
);
// 设置一个较大的数值以获取所有未完成的考试
MyExamPageVO
examData
=
myExamClient
.
getMyExamList
(
param
);
// 返回未完成考试的数量
return
examData
!=
null
&&
examData
.
getExamVOS
()
!=
null
?
examData
.
getExamVOS
().
size
()
:
0
;
return
examData
!=
null
?
examData
.
getPageTotal
()
:
0
;
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"获取培训测试数量失败"
,
e
);
return
0
;
...
...
cloud-web-student/src/main/java/com/yizhi/application/promptStatistics/PromptStatisticsController.java
View file @
bfe4d3a9
...
...
@@ -239,14 +239,22 @@ public class PromptStatisticsController {
MyExamParameterVO
param
=
new
MyExamParameterVO
();
param
.
setSiteId
(
context
.
getSiteId
());
param
.
setAccountId
(
context
.
getAccountId
());
List
<
Long
>
ids
=
context
.
getRelationIds
();
if
(
null
!=
ids
)
{
param
.
setIds
(
ids
);
}
else
{
ids
=
new
ArrayList
<
Long
>();
ids
.
add
(
context
.
getAccountId
());
param
.
setIds
(
ids
);
}
// 设置状态为未完成(进行中)的考试
param
.
setState
(
1
);
param
.
setPageNo
(
1
);
param
.
setPageSize
(
1
000
);
// 设置一个较大的数值以获取所有未完成的考试
param
.
setPageSize
(
1
);
// 设置一个较大的数值以获取所有未完成的考试
MyExamPageVO
examData
=
myExamClient
.
getMyExamList
(
param
);
// 返回未完成考试的数量
return
examData
!=
null
&&
examData
.
getExamVOS
()
!=
null
?
examData
.
getExamVOS
().
size
()
:
0
;
return
examData
!=
null
?
examData
.
getPageTotal
()
:
0
;
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"获取培训测试数量失败"
,
e
);
return
0
;
...
...
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