Compare commits

..

No commits in common. '533ceb929139b9e4d18ca237f9c4a96303cee8fb' and '1c1169907e6e7ebe22946481813172476cf6c97b' have entirely different histories.

@ -373,6 +373,7 @@ 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){
@ -384,7 +385,6 @@ 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);

Loading…
Cancel
Save