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 dfee497..cb98e5d 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 @@ -97,6 +97,9 @@ public class TRecordServiceImpl implements ITRecordService // throw new ServiceException("Json 解析异常,请检查入参。"); // } tRecord.setUpdateTime(DateUtils.getNowDate()); + if (null == tRecord.getAiResultModifyTime()) { + tRecord.setAiResultModifyTime(DateUtils.getNowDate()); + } return tRecordMapper.updateTRecord(tRecord); }