Commit 8998c6a6 by hzc

修复正式运算指标积分目录id为空问题

parent 4c74c839
......@@ -25,13 +25,13 @@
<insert id="batchSave" parameterType="java.util.List">
insert into obj_score_cal_result(
compare_id, compare_obj, compare_obj_desc, ind_ids, date, score_value, improve_value,
score_rank, score_sum_value, ind_count, code)
score_rank, score_sum_value, ind_count, code,compare_catalog)
values
<foreach collection="datas" item="val" separator=",">
(
#{val.compareId}, #{val.compareObj}, #{val.compareObjDesc}, #{val.indIds}, #{val.date},
#{val.scoreValue},#{val.improveValue},#{val.scoreRank},#{val.scoreSumValue},#{val.indCount},
#{val.code})
#{val.code},#{val.compareCatalog})
</foreach>
</insert>
......@@ -72,6 +72,9 @@
<if test="val.code != null">
code = #{val.code},
</if>
<if test="val.compareCatalog!=null">
compare_catalog=#{val.compareCatalog}
</if>
</set>
where id = ${val.id}
</foreach>
......
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