处理文件字段问题

develop
PL 4 months ago
parent 2b1c8e7264
commit b332503a9e

@ -25,5 +25,5 @@ public class WisdomExamCommentsDto {
/** /**
* *
*/ */
public int banking; public int ranking;
} }

@ -33,7 +33,6 @@ import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.io.*; import java.io.*;
import java.net.URL;
import java.time.Instant; import java.time.Instant;
import java.util.*; import java.util.*;
@ -407,7 +406,7 @@ public class ChatMessageServiceImpl implements ChatMessageService {
} }
int count = 1; int count = 1;
for (WisdomExamCommentsDto examComment : examComments) { for (WisdomExamCommentsDto examComment : examComments) {
builder.append(String.format(finalChatModel.getCycleChats().get(0), count, examComment.getName(), examComment.getTime(), examComment.getScore(), examComment.getScoreRate(), examComment.getBanking())); builder.append(String.format(finalChatModel.getCycleChats().get(0), count, examComment.getName(), examComment.getTime(), examComment.getScore(), examComment.getScoreRate(), examComment.getRanking()));
if (count < examComments.size()) if (count < examComments.size())
{ {
count++; count++;

Loading…
Cancel
Save