Browse Source

1、修改水位单个楼栋查询时,缺少设备名称;

dev
mh 2 weeks ago
parent
commit
6add92e1b6
  1. 3
      user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java

3
user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java

@ -146,7 +146,8 @@ public interface NowDataMapper {
@Results({ @Results({
@Result(property="curDate",column="cur_date"), @Result(property="curDate",column="cur_date"),
@Result(property="buildingID",column="building_id"), @Result(property="buildingID",column="building_id"),
@Result(property="buildingName",column="building_name") @Result(property="buildingName",column="building_name"),
@Result(property="deviceName",column="device_name")
}) })
@SelectProvider(type = NowDataProvider.class,method = "queryWaterLevel") @SelectProvider(type = NowDataProvider.class,method = "queryWaterLevel")
List<WaterLevelEntity> queryWaterLevel(@Param("curDate") String curDate, List<WaterLevelEntity> queryWaterLevel(@Param("curDate") String curDate,

Loading…
Cancel
Save