<?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.ReviewSceneChangeTaskUserRelationMapper"> <resultMap id="BaseResultMap" type="com.ruoyi.domain.ReviewSceneChangeTaskUserRelation">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="taskId" column="task_id" jdbcType="BIGINT"/> <result property="userId" column="user_id" jdbcType="BIGINT"/> <result property="decision" column="decision" jdbcType="VARCHAR"/> <result property="decisionTime" column="decision_time" jdbcType="TIMESTAMP"/> <result property="name" column="name" jdbcType="VARCHAR"/> </resultMap> <sql id="Base_Column_List"> task_id,user_id,decision, decision_time,name </sql>
<select id="findListByTaskId" resultType="com.ruoyi.domain.ReviewSceneChangeTaskUserRelation"> SELECT id, task_id, user_id, decision, decision_time, name FROM t_review_scene_change_task_user_relation WHERE task_id = #{taskId} </select>
</mapper>