bug fixed mpoint
This commit is contained in:
@ -22,17 +22,14 @@
|
|||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" parameterType="com.sipai.entity.scada.MPointExpand" >
|
<insert id="insert" parameterType="com.sipai.entity.scada.MPointExpand" >
|
||||||
insert into TB_MeasurePoint_Expand (id, insdt, insuser,
|
insert into TB_MeasurePoint_Expand (insdt, insuser,
|
||||||
measure_point_id, explain)
|
measure_point_id, explain)
|
||||||
values (#{id,jdbcType=VARCHAR}, #{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
|
values (#{insdt,jdbcType=TIMESTAMP}, #{insuser,jdbcType=VARCHAR},
|
||||||
#{measurePointId,jdbcType=VARCHAR}, #{explain,jdbcType=VARCHAR})
|
#{measurePointId,jdbcType=VARCHAR}, #{explain,jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="com.sipai.entity.scada.MPointExpand" >
|
<insert id="insertSelective" parameterType="com.sipai.entity.scada.MPointExpand" >
|
||||||
insert into TB_MeasurePoint_Expand
|
insert into TB_MeasurePoint_Expand
|
||||||
<trim prefix="(" suffix=")" suffixOverrides="," >
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
||||||
<if test="id != null" >
|
|
||||||
id,
|
|
||||||
</if>
|
|
||||||
<if test="insdt != null" >
|
<if test="insdt != null" >
|
||||||
insdt,
|
insdt,
|
||||||
</if>
|
</if>
|
||||||
@ -47,9 +44,6 @@
|
|||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
||||||
<if test="id != null" >
|
|
||||||
#{id,jdbcType=VARCHAR},
|
|
||||||
</if>
|
|
||||||
<if test="insdt != null" >
|
<if test="insdt != null" >
|
||||||
#{insdt,jdbcType=TIMESTAMP},
|
#{insdt,jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user