<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.mapper.ResultFileRelationMapper">
<resultMap id="BaseResultMap" type="com.ruoyi.domain.ResultFileRelation">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="taskId" column="task_id" jdbcType="BIGINT"/>
<result property="resultId" column="result_id" jdbcType="BIGINT"/>
<result property="fileId" column="file_id" jdbcType="BIGINT"/>
<result property="catalogue" column="catalogue" jdbcType="VARCHAR"/>
<result property="fileName" column="file_name" jdbcType="VARCHAR"/>
</resultMap>
<select id="findByResultId" resultType="com.ruoyi.domain.ResultFileRelation">
select id,task_id,result_id,file_id,catalogue,file_name from t_result_file_relation
where result_id = #{resultId}
</select>
</mapper>
-
wdy authored359c659d