Commit f3e9298e by Wangmin

完善学生答题业务

parent 0c702f45
......@@ -160,7 +160,7 @@ public class TestPaperServiceImpl implements ITestPaperService {
throw new ServiceException("考试记录状态修改失败");
}
// 清除Redis缓存
RedisUtils.deleteKeys(String.format("%s:record:%d", TEST_PAPER_ANSWER_KEY, bo.getRecordId()));
RedisUtils.deleteKeys(String.format("%s:record:%d*", TEST_PAPER_ANSWER_KEY, bo.getRecordId()));
return true;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment