|
|
|
@ -357,6 +357,10 @@ public class AppController extends BaseController
|
|
|
|
|
ObjectMapper mapper = new ObjectMapper();
|
|
|
|
|
String URL = RequestParamsUtil.HTTP + ip + RequestParamsUtil.SEPARATOR + port + url;
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
|
tRecord.setId(recordId);
|
|
|
|
|
tRecord.setStatus("1");
|
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|
|
String result;
|
|
|
|
|
Date start;
|
|
|
|
|
Date end;
|
|
|
|
@ -372,10 +376,6 @@ public class AppController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
if (!StringUtils.isEmpty(result))
|
|
|
|
|
{
|
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
|
tRecord.setId(recordId);
|
|
|
|
|
tRecord.setStatus("1");
|
|
|
|
|
tRecordService.updateTRecord(tRecord);
|
|
|
|
|
JSONObject data = JSONObject.parseObject(result);
|
|
|
|
|
if(data.getInteger("code") != 200){
|
|
|
|
|
TRecord tRecord1 = new TRecord();
|
|
|
|
|