消费者一个错误处理
This commit is contained in:
parent
947a82eac5
commit
ce1954e7d3
@ -59,7 +59,7 @@ public class HotWordsEveryDayTaskExecute implements EveryDayExecute {
|
|||||||
for (DefaultTypedTuple tuple : tuples) {
|
for (DefaultTypedTuple tuple : tuples) {
|
||||||
String keywords = (String) tuple.getValue();
|
String keywords = (String) tuple.getValue();
|
||||||
Double score = tuple.getScore();
|
Double score = tuple.getScore();
|
||||||
hotWordsHistories.add(new HotWordsHistory(calendar.getTime(), keywords, score.intValue()));
|
hotWordsHistories.add(new HotWordsHistory(keywords, score.intValue(), calendar.getTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
hotWordsHistoryService.saveBatch(hotWordsHistories);
|
hotWordsHistoryService.saveBatch(hotWordsHistories);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user