Compare commits

..

No commits in common. "a6a9c1926a51f6d0306944c42d908e84d862e159" and "a0e9065e6a86f881f92930154d74f55d8e77fc12" have entirely different histories.

2 changed files with 4 additions and 14 deletions

View File

@ -51,20 +51,17 @@ public class AutoCallTaskService2 {
public void generateFakeCall() {
QXWarning warn = qxWarningMapper.selectOne(
new QueryWrapper<QXWarning>()
.like("CNNM", "洪湖")
.orderByDesc("WARNID")
.last("limit 1")
);
// warn.setCtnm("恩施州");
// warn.setCnnm("咸丰 ");
warn.setCtnm("荆州市");
warn.setCnnm("洪湖 ");
warn.setCtnm("恩施州");
warn.setCnnm("咸丰 ");
List<AutoCallTask> taskList = newTask(warn);
AutoCallTask task = taskList.get(0);
task.setStatus(0);
task.setCreateTm(new Date());
task.setWarnCnnm("洪湖 ");
task.setWarnCnnm("咸丰 ");
taskMapper.insert(task);
generatePerson(task);
}

View File

@ -116,14 +116,7 @@ public class AICCHelper {
log.info("apiUploadCallData: {}", resp);
TypeReference<AICCCallRespWrapper<AICCCallRespTask>> type = new TypeReference<AICCCallRespWrapper<AICCCallRespTask>>() {
};
AICCCallRespWrapper<AICCCallRespTask> AICCCallRespWrapper = null;
try {
AICCCallRespWrapper = JSON.parseObject(resp, type);
} catch (Exception ex) {
log.error("apiUploadCallData: {}", resp);
log.error("error: ", ex);
throw ex;
}
AICCCallRespWrapper<AICCCallRespTask> AICCCallRespWrapper = JSON.parseObject(resp, type);
if (AICCCallRespWrapper == null || !AICCCallRespWrapper.isSuccess()) {
initToken();
headers.put("X-Access-Token", getToken());