Commit f46d2c96 authored by 王飞's avatar 王飞

Refactor

1、体系审查答案中不再需要记录场景。
2、体系审查答案中增加评论字段。

Reference N/A
parent 1692e7c0
......@@ -25,14 +25,9 @@ public class ReviewDetailsResult implements Serializable {
private Integer passed;
/**
* 厂商适用于该细则的场景id
* 评论
*/
private Long sceneId;
/**
* 厂商适用于该细则的场景
*/
private String scene;
private String comment;
/**
* 厂商适用于该细则的场景截图或照片(多个url用","分隔)
......
......@@ -7,8 +7,7 @@
<resultMap id="BaseResultMap" type="com.ruoyi.domain.ReviewDetailsResult">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="passed" column="passed" jdbcType="TINYINT"/>
<result property="sceneId" column="scene_id" jdbcType="BIGINT"/>
<result property="scene" column="scene" jdbcType="VARCHAR"/>
<result property="comment" column="comment" jdbcType="VARCHAR"/>
<result property="imagesUrl" column="images_url" jdbcType="VARCHAR"/>
<result property="reviewDetailsId" column="review_details_id" jdbcType="BIGINT"/>
<result property="taskId" column="task_id" jdbcType="BIGINT"/>
......@@ -20,6 +19,6 @@
task_no
</sql>
<select id="findByTaskId" resultType="com.ruoyi.domain.ReviewDetailsResult">
SELECT id, passed, scene_id, scene, images_url, review_details_id, task_id FROM t_review_details_result WHERE task_id = #{taskId}
SELECT id, passed, common, images_url, review_details_id, task_id FROM t_review_details_result WHERE task_id = #{taskId}
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment