|
@ -72,6 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<insert id="insertDcWarning" parameterType="DcWarning" useGeneratedKeys="true" keyProperty="id"> |
|
|
<insert id="insertDcWarning" parameterType="DcWarning" useGeneratedKeys="true" keyProperty="id"> |
|
|
insert into dc_warning |
|
|
insert into dc_warning |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
|
|
|
|
|
<if test="id != null">id,</if> |
|
|
<if test="stakeMark != null and stakeMark != ''">stake_mark,</if> |
|
|
<if test="stakeMark != null and stakeMark != ''">stake_mark,</if> |
|
|
<if test="direction != null">direction,</if> |
|
|
<if test="direction != null">direction,</if> |
|
|
<if test="deptId != null">dept_id,</if> |
|
|
<if test="deptId != null">dept_id,</if> |
|
@ -90,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="lane != null">lane,</if> |
|
|
<if test="lane != null">lane,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
|
|
<if test="id != null">#{id},</if> |
|
|
<if test="stakeMark != null and stakeMark != ''">#{stakeMark},</if> |
|
|
<if test="stakeMark != null and stakeMark != ''">#{stakeMark},</if> |
|
|
<if test="direction != null">#{direction},</if> |
|
|
<if test="direction != null">#{direction},</if> |
|
|
<if test="deptId != null">#{deptId},</if> |
|
|
<if test="deptId != null">#{deptId},</if> |
|
|