diff --git a/user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java b/user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java index 0f0c74b..764143a 100644 --- a/user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java +++ b/user-service/src/main/java/com/mh/user/mapper/NowDataMapper.java @@ -146,7 +146,8 @@ public interface NowDataMapper { @Results({ @Result(property="curDate",column="cur_date"), @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") List queryWaterLevel(@Param("curDate") String curDate,