Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
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
wangqi
dd_school
Commits
a09370a0
Commit
a09370a0
authored
Nov 10, 2023
by
baochunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#G: 优化判断
parent
5147d096
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
smart-campus/src/main/java/yangtz/cs/liu/wechat/controller/experiment/TeacherExperimentController.java
+2
-2
No files found.
smart-campus/src/main/java/yangtz/cs/liu/wechat/controller/experiment/TeacherExperimentController.java
View file @
a09370a0
...
...
@@ -78,7 +78,7 @@ public class TeacherExperimentController extends BaseController {
schoolLabClassYearVo
.
setGradeId
(
gradeId
);
//获取学科
Map
<
String
,
String
>
map
=
schoolClassMentorService
.
selectTeacherGroupMentot
(
userId
);
if
(
null
!=
map
.
get
(
"courseId"
)){
if
(
map
!=
null
&&
null
!=
map
.
get
(
"courseId"
)){
String
s
=
map
.
get
(
"courseId"
);
List
<
String
>
list
=
Arrays
.
asList
(
s
.
split
(
","
));
List
<
String
>
myList
=
list
.
stream
().
distinct
().
collect
(
Collectors
.
toList
());
...
...
@@ -193,7 +193,7 @@ public class TeacherExperimentController extends BaseController {
//设置级部
//获取学科
Map
<
String
,
String
>
map
=
schoolClassMentorService
.
selectTeacherGroupMentot
(
userId
);
if
(
null
!=
map
.
get
(
"courseId"
)
)
{
if
(
map
!=
null
&&
null
!=
map
.
get
(
"courseId"
)
)
{
String
s
=
map
.
get
(
"courseId"
);
List
<
String
>
list
=
Arrays
.
asList
(
s
.
split
(
","
));
List
<
String
>
myList
=
list
.
stream
().
distinct
().
collect
(
Collectors
.
toList
());
...
...
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