From c9ed837d6437abdea65c8e3e58d9489603eef139 Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Tue, 9 Aug 2022 10:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=A1=A8=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/domain/TRecord.java | 30 +++++++++++++++++++ .../resources/mapper/system/TRecordMapper.xml | 10 +++++++ 2 files changed, 40 insertions(+) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TRecord.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TRecord.java index 71e5324..70009e2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/TRecord.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/TRecord.java @@ -69,6 +69,14 @@ public class TRecord extends BaseEntity @Excel(name = "响应时长") private Long responseTime; + /** 响应时长 */ + @Excel(name = "ai结果返回时间") + private Date aiResultReturnTime; + + /** 响应时长 */ + @Excel(name = "ai结果修改时间") + private Date aiResultModifyTime; + public void setId(Long id) { this.id = id; @@ -187,6 +195,26 @@ public class TRecord extends BaseEntity return responseTime; } + public Date getAiResultReturnTime() + { + return aiResultReturnTime; + } + + public void setAiResultReturnTime(Date aiResultReturnTime) + { + this.aiResultReturnTime = aiResultReturnTime; + } + + public Date getAiResultModifyTime() + { + return aiResultModifyTime; + } + + public void setAiResultModifyTime(Date aiResultModifyTime) + { + this.aiResultModifyTime = aiResultModifyTime; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -205,6 +233,8 @@ public class TRecord extends BaseEntity .append("imgSx", getImgSx()) .append("imgSm", getImgSm()) .append("responseTime", getResponseTime()) + .append("aiResultReturnTime", getAiResultReturnTime()) + .append("aiResultModifyTime", getAiResultModifyTime()) .toString(); } } diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml index b899156..61c9cbe 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml @@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + @@ -35,6 +37,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" tr.update_result2 AS updateResult2, tr.update_time AS updateTime, tr.upload_time AS uploadTime, + tr.ai_result_return_time, + tr.ai_result_modify_time, td.NAME AS doctorName, tp.identifier, tp.NAME AS patientName, @@ -59,6 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" tr.update_result2 AS updateResult2, tr.update_time AS updateTime, tr.upload_time AS uploadTime, + tr.ai_result_return_time, + tr.ai_result_modify_time, td.NAME AS doctorName, tp.identifier, tp.NAME AS patientName, @@ -126,6 +132,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" img_sx, img_sm, response_time, + ai_result_return_time, + ai_result_modify_time, #{patientId}, @@ -142,6 +150,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{imgSx}, #{imgSm}, #{responseTime}, + #{aiResultReturnTime}, + #{aiResultModifyTime},