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