Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
itning committed May 23, 2019
1 parent 523ba7d commit 566a5ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>top.yunshu</groupId>
<artifactId>shw_server</artifactId>
<version>1.8.0-RELEASE</version>
<version>1.8.1-RELEASE</version>
<name>shw_server</name>
<description>Student HomeWork Management System</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ public Group createGroup(String groupName, String teacherName, String teacherId)
@Caching(evict = {
@CacheEvict(cacheNames = "groupOfStudent", key = "'regex:'+#studentId+'*'"),
//学生加入群组,教师作业详情缓存清空
@CacheEvict(cacheNames = "workDetail", allEntries = true)
@CacheEvict(cacheNames = "workDetail", allEntries = true),
@CacheEvict(cacheNames = "studentDoneWork", key = "'regex:'+#studentId+'*'"),
@CacheEvict(cacheNames = "studentUndoneWork", key = "'regex:'+#studentId+'*'")
})
@Override
public Group joinGroup(String code, String studentId) {
Expand Down

0 comments on commit 566a5ed

Please sign in to comment.