fix
This commit is contained in:
parent
96c18e66e0
commit
3c403c1d28
@ -105,21 +105,20 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<insert id="insertResultTagetLibs" parameterType="FlowChartDetailRecord" useGeneratedKeys="true" keyProperty="id" >
|
<insert id="insertResultTagetLibs" parameterType="FlowChartDetailRecord" useGeneratedKeys="true" keyProperty="id" >
|
||||||
<foreach collection="list" item="item" separator=";">
|
|
||||||
insert into lz_result_taget_lib(
|
insert into lz_result_taget_lib(
|
||||||
<if test="item.name != null">name, </if>
|
name,
|
||||||
<if test="item.modelId != null">model_id, </if>
|
model_id,
|
||||||
<if test="item.weight != null">weight, </if>
|
weight,
|
||||||
<if test="item.keyResult != null">key_result, </if>
|
key_result,
|
||||||
<if test="item.orderBy != null">order_by, </if>
|
order_by,
|
||||||
is_delete
|
is_delete
|
||||||
)values(
|
)values
|
||||||
|
<foreach collection="list" item="item" separator=",">(
|
||||||
<if test="item.name != null">#{ item.name}, </if>
|
#{ item.name},
|
||||||
<if test="item.modelId != null">#{ item.modelId}, </if>
|
#{ item.modelId},
|
||||||
<if test="item.weight != null">#{ item.weight}, </if>
|
#{ item.weight},
|
||||||
<if test="item.keyResult != null">#{ item.keyResult}, </if>
|
#{ item.keyResult},
|
||||||
<if test="item.orderBy != null">#{ item.orderBy},</if>
|
#{ item.orderBy},
|
||||||
0
|
0
|
||||||
)
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user