|
|
|
|
41
|
String msg = new String(message.getBody(), "UTF-8");
|
41
|
String msg = new String(message.getBody(), "UTF-8");
|
42
|
System.out.println(LocalDateTime.now() + "学生试题答案合并接收消息内容:" + msg);
|
42
|
System.out.println(LocalDateTime.now() + "学生试题答案合并接收消息内容:" + msg);
|
43
|
EPaperStudentQuestion psq = JSON.parseObject(msg, EPaperStudentQuestion.class);
|
43
|
EPaperStudentQuestion psq = JSON.parseObject(msg, EPaperStudentQuestion.class);
|
44
|
- psq.setDevice(null);
|
|
|
45
|
if (psq.getConverted() != 1) {//合并失败不修改学生答案
|
44
|
if (psq.getConverted() != 1) {//合并失败不修改学生答案
|
46
|
psq.setStuanswer(null);
|
45
|
psq.setStuanswer(null);
|
47
|
} else {
|
46
|
} else {
|