|
|
@ -373,7 +373,6 @@ public class AppController extends BaseController
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
tRecord.setId(recordId);
|
|
|
|
tRecord.setId(recordId);
|
|
|
|
tRecord.setStatus("1");
|
|
|
|
tRecord.setStatus("1");
|
|
|
|
tRecord.setResponseTime((end-start)/1000);
|
|
|
|
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|
JSONObject data = JSONObject.parseObject(result);
|
|
|
|
JSONObject data = JSONObject.parseObject(result);
|
|
|
|
if(data.getInteger("code") != 200){
|
|
|
|
if(data.getInteger("code") != 200){
|
|
|
@ -385,6 +384,7 @@ public class AppController extends BaseController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jsonObject = removeBase64Image(data,recordId);
|
|
|
|
jsonObject = removeBase64Image(data,recordId);
|
|
|
|
tRecord.setUpdateTime(new Date());
|
|
|
|
tRecord.setUpdateTime(new Date());
|
|
|
|
|
|
|
|
tRecord.setResponseTime((end-start)/1000);
|
|
|
|
tRecord.setAiResult(JSONObject.toJSONString(jsonObject, SerializerFeature.WriteMapNullValue));
|
|
|
|
tRecord.setAiResult(JSONObject.toJSONString(jsonObject, SerializerFeature.WriteMapNullValue));
|
|
|
|
tRecord.setAiResult2(JSONObject.toJSONString(jsonObject, SerializerFeature.WriteMapNullValue));
|
|
|
|
tRecord.setAiResult2(JSONObject.toJSONString(jsonObject, SerializerFeature.WriteMapNullValue));
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|