|
|
@@ -746,7 +746,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
|
|
|
// 获取得分最低的N个车队的方法
|
|
|
public List<ChatgptCarInfoView> getLowestScoreFleets(int count, Boolean isPlus) {
|
|
|
- List<ChatgptCarInfoView> chatgptCarInfoViews = beanSearcher.searchList(ChatgptCarInfoView.class, MapUtils.builder().field(ChatgptCarInfoView::getIsPlus, isPlus).orderBy(ChatgptCarInfoView::getScore).desc().limit(0, count).build());
|
|
|
+ List<ChatgptCarInfoView> chatgptCarInfoViews = beanSearcher.searchList(ChatgptCarInfoView.class, MapUtils.builder().field(ChatgptCarInfoView::getIsPlus, isPlus).orderBy(ChatgptCarInfoView::getScore).asc().limit(0, count).build());
|
|
|
|
|
|
chatgptCarInfoViews.forEach(this::buildChatgptCarInfoView);
|
|
|
return chatgptCarInfoViews;
|
|
|
@@ -802,6 +802,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService {
|
|
|
}
|
|
|
int use = getCarConversationCount(view.getCarId(), 3L).intValue();
|
|
|
view.setUse(use);
|
|
|
+ view.setScore(Math.min(view.getScore(), 200));
|
|
|
return view;
|
|
|
}
|
|
|
|