From 841fd691c07ce97c0a510b635d2d7668f4c4c60f Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Tue, 23 Aug 2022 11:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=A9=BA=E6=8C=87=E9=92=88=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/service/impl/TRecordServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;