|
|
|
@ -166,9 +166,9 @@ public class TRecordServiceImpl implements ITRecordService
|
|
|
|
|
recordHistoryDataResp.setDateList(dateList);
|
|
|
|
|
List<JSONObject> result = records.stream().map(tRecord -> {
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
|
if(StringUtils.isEmpty(tRecord.getUpdateResult2())){
|
|
|
|
|
if(StringUtils.isEmpty(tRecord.getUpdateResult())){
|
|
|
|
|
jsonObject = JSONObject.parseObject(tRecord.getAiResult());
|
|
|
|
|
}else if(!StringUtils.isEmpty(tRecord.getUpdateResult2())){
|
|
|
|
|
}else if(!StringUtils.isEmpty(tRecord.getUpdateResult())){
|
|
|
|
|
jsonObject = JSONObject.parseObject(tRecord.getUpdateResult());
|
|
|
|
|
}
|
|
|
|
|
return jsonObject;
|
|
|
|
|