|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <select id="getMeterInfor" parameterType="map" statementType="CALLABLE" resultType="map">
|
|
|
|
|
|
+ <select id="getMeterInfor" parameterType="com.zcxk.entity.WaterMeterBaseEntity" statementType="CALLABLE" resultType="map">
|
|
<![CDATA[ { call DBi_GetMeterInfor_Batch(
|
|
<![CDATA[ { call DBi_GetMeterInfor_Batch(
|
|
#{regionId,mode=IN,jdbcType=VARCHAR},
|
|
#{regionId,mode=IN,jdbcType=VARCHAR},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
@@ -37,23 +37,24 @@
|
|
}
|
|
}
|
|
]]>
|
|
]]>
|
|
</select>
|
|
</select>
|
|
- <update id="creatUploadTask" parameterType="map" statementType="CALLABLE">
|
|
|
|
- { call DBi_CreateUploadTask(
|
|
|
|
|
|
+ <update id="creatUploadTask" parameterType="com.zcxk.entity.TaskEntity" statementType="CALLABLE">
|
|
|
|
+ { call DBi_CreateUploadTask(
|
|
#{planId,mode=IN,jdbcType=VARCHAR},
|
|
#{planId,mode=IN,jdbcType=VARCHAR},
|
|
#{taskId,mode=OUT,jdbcType=VARCHAR},
|
|
#{taskId,mode=OUT,jdbcType=VARCHAR},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
#{returnMsg,mode=OUT,jdbcType=VARCHAR}
|
|
#{returnMsg,mode=OUT,jdbcType=VARCHAR}
|
|
)
|
|
)
|
|
}
|
|
}
|
|
|
|
+
|
|
</update>
|
|
</update>
|
|
- <update id="meterDataInsert" parameterType="map" statementType="CALLABLE">
|
|
|
|
- { call DBi_MeterDataInsert_Batch(
|
|
|
|
|
|
+ <update id="meterDataInsert" parameterType="com.zcxk.entity.UploadWaterMeterDataEntity" statementType="CALLABLE">
|
|
|
|
+ <![CDATA[ { call DBi_MeterDataInsert_Batch(
|
|
#{taskId,mode=IN,jdbcType=VARCHAR},
|
|
#{taskId,mode=IN,jdbcType=VARCHAR},
|
|
- #{meterData,mode=IN,jdbcType=VARCHAR},
|
|
|
|
|
|
+ #{meterData,mode=IN,jdbcType=OTHER,typeHandler=com.zcxk.handle.TableTypeHandle},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
#{returnCode,mode=OUT,jdbcType=INTEGER},
|
|
#{returnMsg,mode=OUT,jdbcType=VARCHAR}
|
|
#{returnMsg,mode=OUT,jdbcType=VARCHAR}
|
|
)
|
|
)
|
|
- }
|
|
|
|
|
|
+ } ]]>
|
|
</update>
|
|
</update>
|
|
<update id="dropMeterDataTable">
|
|
<update id="dropMeterDataTable">
|
|
drop table huaxu_meter_data
|
|
drop table huaxu_meter_data
|
|
@@ -73,6 +74,6 @@
|
|
</foreach >
|
|
</foreach >
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertIntoMeterData">
|
|
<insert id="insertIntoMeterData">
|
|
- insert into @meterData (releationId,currentReading,currentReadDate) select *from huaxu_meter_data
|
|
|
|
|
|
+ insert into Table_MeterDataInsertBatch (releationId,currentReading,currentReadDate) select * from huaxu_meter_data
|
|
</insert>
|
|
</insert>
|
|
</mapper>
|
|
</mapper>
|