|
@@ -513,6 +513,9 @@ public class ClassGradeController extends BaseController {
|
|
|
public AjaxResult<Void> lockPeriodStatus(@RequestBody UserPeriodEditBo bo) {
|
|
|
String key = "LockPeriod_"+bo.getGradeId()+"-"+bo.getUserId();
|
|
|
String username = redisCache.getCacheObject(key);
|
|
|
+ if(SecurityUtils.getUsername().equals(username)){
|
|
|
+ username = null;//同个用户不返回
|
|
|
+ }
|
|
|
return AjaxResult.success(username);
|
|
|
}
|
|
|
}
|