|
|
|
@ -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>
|
|
|
|
|
|
|
|
|
|