|
@@ -61,8 +61,8 @@
|
|
values
|
|
values
|
|
(
|
|
(
|
|
#{id,jdbcType=VARCHAR}
|
|
#{id,jdbcType=VARCHAR}
|
|
-,#{batch,jdbcType=VARCHAR}
|
|
|
|
-,#{serialNo,jdbcType=VARCHAR}
|
|
|
|
|
|
+,#{batch,jdbcType=NUMERIC}
|
|
|
|
+,#{serialNo,jdbcType=NUMERIC}
|
|
,#{complainant,jdbcType=VARCHAR}
|
|
,#{complainant,jdbcType=VARCHAR}
|
|
,#{complainantPhone,jdbcType=VARCHAR}
|
|
,#{complainantPhone,jdbcType=VARCHAR}
|
|
,#{areaId,jdbcType=VARCHAR}
|
|
,#{areaId,jdbcType=VARCHAR}
|
|
@@ -86,10 +86,10 @@
|
|
update base_incident
|
|
update base_incident
|
|
<set>
|
|
<set>
|
|
<if test="batch!=null">
|
|
<if test="batch!=null">
|
|
- batch_=#{batch,jdbcType=VARCHAR},
|
|
|
|
|
|
+ batch_=#{batch,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="serialNo!=null">
|
|
<if test="serialNo!=null">
|
|
- serial_no=#{serialNo,jdbcType=VARCHAR},
|
|
|
|
|
|
+ serial_no=#{serialNo,jdbcType=NUMERIC},
|
|
</if>
|
|
</if>
|
|
<if test="complainant!=null">
|
|
<if test="complainant!=null">
|
|
complainant_=#{complainant,jdbcType=VARCHAR},
|
|
complainant_=#{complainant,jdbcType=VARCHAR},
|