diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java index d00375e..c4f06db 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java @@ -166,9 +166,9 @@ public class TRecordServiceImpl implements ITRecordService recordHistoryDataResp.setDateList(dateList); List 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;