|
@@ -17,7 +17,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="calculate1" column="calculate1" />
|
|
<result property="calculate1" column="calculate1" />
|
|
<result property="calculate2" column="calculate2" />
|
|
<result property="calculate2" column="calculate2" />
|
|
<result property="calculate3" column="calculate3" />
|
|
<result property="calculate3" column="calculate3" />
|
|
-<!-- <result property="accuracy" column="accuracy" />-->
|
|
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -43,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="calculate1 != null and calculate1 != ''"> and calculate1 = #{calculate1}</if>
|
|
<if test="calculate1 != null and calculate1 != ''"> and calculate1 = #{calculate1}</if>
|
|
<if test="calculate2 != null and calculate2 != ''"> and calculate2 = #{calculate2}</if>
|
|
<if test="calculate2 != null and calculate2 != ''"> and calculate2 = #{calculate2}</if>
|
|
<if test="calculate3 != null and calculate3 != ''"> and calculate3 = #{calculate3}</if>
|
|
<if test="calculate3 != null and calculate3 != ''"> and calculate3 = #{calculate3}</if>
|
|
-<!-- <if test="accuracy != null and accuracy != ''"> and accuracy = #{accuracy}</if>-->
|
|
|
|
|
|
+
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -51,12 +50,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<include refid="selectTVerificationTaskDetailVo"/>
|
|
<include refid="selectTVerificationTaskDetailVo"/>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</select>
|
|
</select>
|
|
-
|
|
|
|
|
|
+ <select id="selectTVerificationTaskDetailByTaskIds"
|
|
|
|
+ resultType="com.cirs.biz.domain.TVerificationTaskDetail" resultMap="TVerificationTaskDetailResult">
|
|
|
|
+ select task_id, use_scene,search_condition, result1, result2, result3, result4, result5, calculate1, calculate2, calculate3, create_by, create_time, update_by, update_time, remark from t_verification_task_detail
|
|
|
|
+ where task_id in
|
|
|
|
+ <foreach item="item" collection="taskids" index="index" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
<insert id="insertTVerificationTaskDetail" parameterType="TVerificationTaskDetail" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="insertTVerificationTaskDetail" parameterType="TVerificationTaskDetail" useGeneratedKeys="true" keyProperty="id">
|
|
insert into t_verification_task_detail
|
|
insert into t_verification_task_detail
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<if test="taskId != null">task_id,</if>
|
|
<if test="taskId != null">task_id,</if>
|
|
- <if test="useScene != null">use_scene</if>
|
|
|
|
|
|
+ <if test="useScene != null">use_scene,</if>
|
|
<if test="searchCondition != null">search_condition,</if>
|
|
<if test="searchCondition != null">search_condition,</if>
|
|
<if test="result1 != null">result1,</if>
|
|
<if test="result1 != null">result1,</if>
|
|
<if test="result2 != null">result2,</if>
|
|
<if test="result2 != null">result2,</if>
|
|
@@ -66,7 +73,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="calculate1 != null">calculate1,</if>
|
|
<if test="calculate1 != null">calculate1,</if>
|
|
<if test="calculate2 != null">calculate2,</if>
|
|
<if test="calculate2 != null">calculate2,</if>
|
|
<if test="calculate3 != null">calculate3,</if>
|
|
<if test="calculate3 != null">calculate3,</if>
|
|
--- <if test="accuracy != null">accuracy,</if>
|
|
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -75,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="taskId != null">#{taskId},</if>
|
|
<if test="taskId != null">#{taskId},</if>
|
|
- <if test="useScene != null">#{useScene}</if>
|
|
|
|
|
|
+ <if test="useScene != null">#{useScene},</if>
|
|
<if test="searchCondition != null">#{searchCondition},</if>
|
|
<if test="searchCondition != null">#{searchCondition},</if>
|
|
<if test="result1 != null">#{result1},</if>
|
|
<if test="result1 != null">#{result1},</if>
|
|
<if test="result2 != null">#{result2},</if>
|
|
<if test="result2 != null">#{result2},</if>
|
|
@@ -85,7 +91,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="calculate1 != null">#{calculate1},</if>
|
|
<if test="calculate1 != null">#{calculate1},</if>
|
|
<if test="calculate2 != null">#{calculate2},</if>
|
|
<if test="calculate2 != null">#{calculate2},</if>
|
|
<if test="calculate3 != null">#{calculate3},</if>
|
|
<if test="calculate3 != null">#{calculate3},</if>
|
|
--- <if test="accuracy != null">#{accuracy},</if>
|
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -98,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
update t_verification_task_detail
|
|
update t_verification_task_detail
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="taskId != null">task_id = #{taskId},</if>
|
|
<if test="taskId != null">task_id = #{taskId},</if>
|
|
- <if test="useScene != null">use_scene = #{useScene}</if>
|
|
|
|
|
|
+ <if test="useScene != null">use_scene = #{useScene},</if>
|
|
<if test="searchCondition != null">search_condition = #{searchCondition},</if>
|
|
<if test="searchCondition != null">search_condition = #{searchCondition},</if>
|
|
<if test="result1 != null">result1 = #{result1},</if>
|
|
<if test="result1 != null">result1 = #{result1},</if>
|
|
<if test="result2 != null">result2 = #{result2},</if>
|
|
<if test="result2 != null">result2 = #{result2},</if>
|
|
@@ -108,7 +113,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="calculate1 != null">calculate1 = #{calculate1},</if>
|
|
<if test="calculate1 != null">calculate1 = #{calculate1},</if>
|
|
<if test="calculate2 != null">calculate2 = #{calculate2},</if>
|
|
<if test="calculate2 != null">calculate2 = #{calculate2},</if>
|
|
<if test="calculate3 != null">calculate3 = #{calculate3},</if>
|
|
<if test="calculate3 != null">calculate3 = #{calculate3},</if>
|
|
--- <if test="accuracy != null">accuracy = #{accuracy},</if>
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|