记录表新增字段

master
gongzhenkun 2 years ago
parent bc738fcc15
commit c9ed837d64

@ -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();
}
}

@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="imgSx" column="img_sx" />
<result property="imgSm" column="img_sm" />
<result property="responseTime" column="response_time" />
<result property="aiResultReturnTime" column="ai_result_return_time" />
<result property="aiResultModifyTime" column="ai_result_modify_time" />
</resultMap>
<sql id="selectTRecordVo">
@ -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"
<if test="imgSx != null">img_sx,</if>
<if test="imgSm != null">img_sm,</if>
<if test="responseTime != null">response_time,</if>
<if test="aiResultReturnTime != null">ai_result_return_time,</if>
<if test="aiResultModifyTime != null">ai_result_modify_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="patientId != null">#{patientId},</if>
@ -142,6 +150,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="imgSx != null">#{imgSx},</if>
<if test="imgSm != null">#{imgSm},</if>
<if test="responseTime != null">#{responseTime},</if>
<if test="aiResultReturnTime != null">#{aiResultReturnTime},</if>
<if test="aiResultModifyTime != null">#{aiResultModifyTime},</if>
</trim>
</insert>

Loading…
Cancel
Save