fix(video):修正巡检任务查询映射配置
- 将 selectInspectionTaskById 查询的 resultType 调整为 resultMap - 确保返回结果正确映射到 InspectionTask 对象- 修复可能因映射不匹配导致的数据读取问题
This commit is contained in:
@@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
where status = '0'
|
where status = '0'
|
||||||
order by create_time desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
<select id="selectInspectionTaskById" resultType="com.ruoyi.video.domain.InspectionTask">
|
<select id="selectInspectionTaskById" resultMap="InspectionTaskResult">
|
||||||
<include refid="selectInspectionTaskVo"/>
|
<include refid="selectInspectionTaskVo"/>
|
||||||
where task_id = #{taskId}
|
where task_id = #{taskId}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user