|
@@ -161,8 +161,6 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
Long.parseLong(String.valueOf(mqDto.getObjId())));
|
|
|
teUserLogService.save(teUserLog);
|
|
|
} else if (Objects.equals(MqTagEnum.STUDENT.name(), tag)) {
|
|
|
- log.info("MqTagEnum.STUDENT_1 come in");
|
|
|
- System.out.println("MqTagEnum.STUDENT_1 come in");
|
|
|
TEExamStudentLog teExamStudentLog = null;
|
|
|
String ip = null, country = null, region = null, province = null, city = null, isp = null;
|
|
|
if (Objects.nonNull(mqDto.getProperties())) {
|
|
@@ -176,8 +174,6 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
city = strs[3];
|
|
|
isp = strs[4];
|
|
|
}
|
|
|
- log.info("MqTagEnum.STUDENT_1 ip1:{}", ip);
|
|
|
- System.out.println("MqTagEnum.STUDENT_1 ip1:" + ip);
|
|
|
String type = Objects.nonNull(mqDto.getProperties().get(SystemConstant.TYPE)) ?
|
|
|
String.valueOf(mqDto.getProperties().get(SystemConstant.TYPE)) :
|
|
|
SystemOperationEnum.valueOf(String.valueOf(mqDto.getBody())).getCode();
|
|
@@ -219,16 +215,12 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
city = null;
|
|
|
isp = null;
|
|
|
}
|
|
|
- log.info("MqTagEnum.STUDENT_1 ip2:{}", ip);
|
|
|
- System.out.println("MqTagEnum.STUDENT_1 ip2:" + ip);
|
|
|
teExamStudentLog = new TEExamStudentLog(String.valueOf(mqDto.getBody()), info, remark,
|
|
|
Long.parseLong(String.valueOf(mqDto.getObjId())),
|
|
|
Long.parseLong(String.valueOf(mqDto.getProperties().get(SystemConstant.EXAM_STUDENT_ID))),
|
|
|
recordId, title, ip, country, region, province, city, isp);
|
|
|
teExamStudentLog.setObjId(objId);
|
|
|
} else {
|
|
|
- log.info("MqTagEnum.STUDENT_2 come in");
|
|
|
- System.out.println("MqTagEnum.STUDENT_2 come in");
|
|
|
if (Objects.nonNull(mqDto.getObjName())) {
|
|
|
ip = mqDto.getObjName();
|
|
|
String[] strs = SystemConstant.getIpInfo(ip);
|
|
@@ -240,8 +232,6 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
isp = strs[4];
|
|
|
}
|
|
|
}
|
|
|
- log.info("MqTagEnum.STUDENT_2 ip1:{}", ip);
|
|
|
- System.out.println("MqTagEnum.STUDENT_2 ip1:" + ip);
|
|
|
teExamStudentLog = new TEExamStudentLog(String.valueOf(mqDto.getBody()),
|
|
|
SystemOperationEnum.valueOf(String.valueOf(mqDto.getBody())).getCode(),
|
|
|
SystemOperationEnum.valueOf(String.valueOf(mqDto.getBody())).getCode(),
|