|
|
|
@ -43,7 +43,7 @@ public abstract class TaskBaseService implements TaskHandler {
|
|
|
|
|
execute(redisKeyBO);
|
|
|
|
|
}catch (Throwable e){
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
log.info("任务执行失败 : ",e.getMessage());
|
|
|
|
|
log.info("任务执行失败 : ", e);
|
|
|
|
|
rollbackRedisKey(redisKeyBO);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -58,7 +58,7 @@ public abstract class TaskBaseService implements TaskHandler {
|
|
|
|
|
transactionManager.commit(status);
|
|
|
|
|
}catch (Throwable e){
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
log.info("任务执行失败 : ",e.getMessage());
|
|
|
|
|
log.info("任务执行失败 : ", e);
|
|
|
|
|
transactionManager.rollback(status);
|
|
|
|
|
rollbackRedisKey(redisKeyBO);
|
|
|
|
|
}
|
|
|
|
|