|
@@ -22,39 +22,41 @@ public interface MeterReadRecordMapper {
|
|
|
int insertList(@Param("meterReadRecords") List<MeterReadRecord> meterReadRecords);
|
|
int insertList(@Param("meterReadRecords") List<MeterReadRecord> meterReadRecords);
|
|
|
|
|
|
|
|
int updateByPrimaryKeySelective(@Param("meterReadRecord") MeterReadRecord meterReadRecord);
|
|
int updateByPrimaryKeySelective(@Param("meterReadRecord") MeterReadRecord meterReadRecord);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
int updateHitoryData(@Param("meterReadRecord") MeterReadRecord meterReadRecord);
|
|
int updateHitoryData(@Param("meterReadRecord") MeterReadRecord meterReadRecord);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
List<MeterReadRecord> queryMeterReadRecord(@Param("param") MeterReadRecord meterReadRecord);
|
|
List<MeterReadRecord> queryMeterReadRecord(@Param("param") MeterReadRecord meterReadRecord);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
List<MeterReadRecord> queryMeterReadRecordWithCondtion(@Param("param") CommonQueryCondition condition);
|
|
List<MeterReadRecord> queryMeterReadRecordWithCondtion(@Param("param") CommonQueryCondition condition);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
List<MeterReadRecord> queryDeviceMeterReadRecordWithCondtion(@Param("param") CommonQueryCondition condition);
|
|
List<MeterReadRecord> queryDeviceMeterReadRecordWithCondtion(@Param("param") CommonQueryCondition condition);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// List<MeterRecordStat> statisticReadRecordsByProvince(@Param("param") CommonQueryCondition param);
|
|
// List<MeterRecordStat> statisticReadRecordsByProvince(@Param("param") CommonQueryCondition param);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// List<MeterRecordStat> statisticReadRecordsByCity(@Param("param") CommonQueryCondition param);
|
|
// List<MeterRecordStat> statisticReadRecordsByCity(@Param("param") CommonQueryCondition param);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// List<MeterRecordStat> statisticReadRecordsByRegion(@Param("param") MeterReadRecord meterReadRecord);
|
|
// List<MeterRecordStat> statisticReadRecordsByRegion(@Param("param") MeterReadRecord meterReadRecord);
|
|
|
|
|
|
|
|
// List<MeterRecordStat> statisticReadRecordsByBuilding(@Param("param") CommonQueryCondition param);
|
|
// List<MeterRecordStat> statisticReadRecordsByBuilding(@Param("param") CommonQueryCondition param);
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
// List<MeterRecordStat> statisticReadRecordsByCommunity(@Param("param") CommonQueryCondition param);
|
|
// List<MeterRecordStat> statisticReadRecordsByCommunity(@Param("param") CommonQueryCondition param);
|
|
|
-
|
|
|
|
|
- int createTmpTable(@Param("param") CommonQueryCondition param,@Param("tableName") String tableName);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ int createTmpTable(@Param("param") CommonQueryCondition param, @Param("tableName") String tableName);
|
|
|
|
|
|
|
|
int dropTmpTable(@Param("tableName") String tableName);
|
|
int dropTmpTable(@Param("tableName") String tableName);
|
|
|
-
|
|
|
|
|
- List<MeterRecordStat> statisticReadRecordsByProvince(@Param("tableName") String tableName);
|
|
|
|
|
|
|
|
|
|
- List<MeterRecordStat> statisticReadRecordsByCity(@Param("tableName") String tableName);
|
|
|
|
|
|
|
+ List<MeterRecordStat> statisticReadRecordsByProvince(@Param("tableName") String tableName);
|
|
|
|
|
+
|
|
|
|
|
+ List<MeterRecordStat> statisticReadRecordsByCity(@Param("tableName") String tableName);
|
|
|
|
|
|
|
|
- List<MeterRecordStat> statisticReadRecordsByCommuinty(@Param("tableName") String tableName);
|
|
|
|
|
|
|
+ List<MeterRecordStat> statisticReadRecordsByCommuinty(@Param("tableName") String tableName);
|
|
|
|
|
+
|
|
|
|
|
+ List<MeterRecordStat> statisticReadRecordsByBuilding(@Param("tableName") String tableName);
|
|
|
|
|
|
|
|
- List<MeterRecordStat> statisticReadRecordsByBuilding(@Param("tableName") String tableName);
|
|
|
|
|
-
|
|
|
|
|
List<DeviceDto> queryUnReadDeviceList(@Param("param") CommonQueryCondition condition);
|
|
List<DeviceDto> queryUnReadDeviceList(@Param("param") CommonQueryCondition condition);
|
|
|
|
|
|
|
|
|
|
+ List<DeviceDto> queryUnReadDeviceListV2(@Param("tableName") String tableName, @Param("param") CommonQueryCondition condition);
|
|
|
|
|
+
|
|
|
List<DeviceDto> queryUnReadDeviceListFor7Day(@Param("param") CommonQueryCondition condition);
|
|
List<DeviceDto> queryUnReadDeviceListFor7Day(@Param("param") CommonQueryCondition condition);
|
|
|
|
|
|
|
|
List<DeviceDto> queryUnReadDeviceListFor15Day(@Param("param") CommonQueryCondition condition);
|
|
List<DeviceDto> queryUnReadDeviceListFor15Day(@Param("param") CommonQueryCondition condition);
|
|
@@ -88,9 +90,9 @@ public interface MeterReadRecordMapper {
|
|
|
// 每日用水测试
|
|
// 每日用水测试
|
|
|
List<Long> getDeviceIdOnDate(@Param("date") Integer date, @Param("limit") Integer limit);
|
|
List<Long> getDeviceIdOnDate(@Param("date") Integer date, @Param("limit") Integer limit);
|
|
|
//
|
|
//
|
|
|
-
|
|
|
|
|
- List<MeterReadDataDTO> queryMeterReadData(@Param("meterReadDate")String meterReadDate ,
|
|
|
|
|
- @Param("deviceNo")String deviceNo,
|
|
|
|
|
- @Param("electronicNo")String electronicNo,
|
|
|
|
|
- @Param("custId")Integer custId);
|
|
|
|
|
|
|
+
|
|
|
|
|
+ List<MeterReadDataDTO> queryMeterReadData(@Param("meterReadDate") String meterReadDate,
|
|
|
|
|
+ @Param("deviceNo") String deviceNo,
|
|
|
|
|
+ @Param("electronicNo") String electronicNo,
|
|
|
|
|
+ @Param("custId") Integer custId);
|
|
|
}
|
|
}
|