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