|
@@ -1667,8 +1667,8 @@
|
|
where device_id= #{meterReadRecord.deviceId,jdbcType=BIGINT}
|
|
where device_id= #{meterReadRecord.deviceId,jdbcType=BIGINT}
|
|
</update>
|
|
</update>
|
|
<select id="findSyncMeterRecord" resultMap="BaseResultMap">
|
|
<select id="findSyncMeterRecord" resultMap="BaseResultMap">
|
|
- select device_id,meter_file_no,read_data from sc_meter_read_record
|
|
|
|
- where read_date=#{readTime}
|
|
|
|
|
|
+ select device_id,meter_file_no,read_data,read_time from sc_meter_read_record
|
|
|
|
+ where read_date=#{readTime} and read_data is not null
|
|
and device_id in
|
|
and device_id in
|
|
<foreach collection="deviceIds" item="item" separator="," open="(" close=")">
|
|
<foreach collection="deviceIds" item="item" separator="," open="(" close=")">
|
|
#{item}
|
|
#{item}
|