|
@@ -72,7 +72,6 @@ public class TEExamPaperServiceImpl extends ServiceImpl<TEExamPaperMapper, TEExa
|
|
* @param paperId
|
|
* @param paperId
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @Async
|
|
|
|
@Override
|
|
@Override
|
|
@CachePut(value = "exam_paper", key = "#paperId", condition = "#result != null")
|
|
@CachePut(value = "exam_paper", key = "#paperId", condition = "#result != null")
|
|
public ExamPaperCacheBean updateExamPaperCacheBean(Long paperId) {
|
|
public ExamPaperCacheBean updateExamPaperCacheBean(Long paperId) {
|
|
@@ -84,7 +83,6 @@ public class TEExamPaperServiceImpl extends ServiceImpl<TEExamPaperMapper, TEExa
|
|
*
|
|
*
|
|
* @param paperId
|
|
* @param paperId
|
|
*/
|
|
*/
|
|
- @Async
|
|
|
|
@Override
|
|
@Override
|
|
@CacheEvict(value = "exam_paper", key = "#paperId")
|
|
@CacheEvict(value = "exam_paper", key = "#paperId")
|
|
public void deleteExamPaperCacheBean(Long paperId) {
|
|
public void deleteExamPaperCacheBean(Long paperId) {
|
|
@@ -127,7 +125,6 @@ public class TEExamPaperServiceImpl extends ServiceImpl<TEExamPaperMapper, TEExa
|
|
*
|
|
*
|
|
* @param paperId
|
|
* @param paperId
|
|
*/
|
|
*/
|
|
- @Async
|
|
|
|
@Override
|
|
@Override
|
|
@CacheEvict(value = "objective_answer", key = "#paperId")
|
|
@CacheEvict(value = "objective_answer", key = "#paperId")
|
|
public void deleteObjectiveAnswerCacheBean(Long paperId) {
|
|
public void deleteObjectiveAnswerCacheBean(Long paperId) {
|