Commit f46d2c96 authored by 王飞's avatar 王飞

Refactor

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

Reference N/A
parent 1692e7c0
...@@ -25,14 +25,9 @@ public class ReviewDetailsResult implements Serializable { ...@@ -25,14 +25,9 @@ public class ReviewDetailsResult implements Serializable {
private Integer passed; private Integer passed;
/** /**
* 厂商适用于该细则的场景id * 评论
*/ */
private Long sceneId; private String comment;
/**
* 厂商适用于该细则的场景
*/
private String scene;
/** /**
* 厂商适用于该细则的场景截图或照片(多个url用","分隔) * 厂商适用于该细则的场景截图或照片(多个url用","分隔)
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
<resultMap id="BaseResultMap" type="com.ruoyi.domain.ReviewDetailsResult"> <resultMap id="BaseResultMap" type="com.ruoyi.domain.ReviewDetailsResult">
<id property="id" column="id" jdbcType="BIGINT"/> <id property="id" column="id" jdbcType="BIGINT"/>
<result property="passed" column="passed" jdbcType="TINYINT"/> <result property="passed" column="passed" jdbcType="TINYINT"/>
<result property="sceneId" column="scene_id" jdbcType="BIGINT"/> <result property="comment" column="comment" jdbcType="VARCHAR"/>
<result property="scene" column="scene" jdbcType="VARCHAR"/>
<result property="imagesUrl" column="images_url" jdbcType="VARCHAR"/> <result property="imagesUrl" column="images_url" jdbcType="VARCHAR"/>
<result property="reviewDetailsId" column="review_details_id" jdbcType="BIGINT"/> <result property="reviewDetailsId" column="review_details_id" jdbcType="BIGINT"/>
<result property="taskId" column="task_id" jdbcType="BIGINT"/> <result property="taskId" column="task_id" jdbcType="BIGINT"/>
...@@ -20,6 +19,6 @@ ...@@ -20,6 +19,6 @@
task_no task_no
</sql> </sql>
<select id="findByTaskId" resultType="com.ruoyi.domain.ReviewDetailsResult"> <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> </select>
</mapper> </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