From 56e81073389ebb511562ddf85e1b22a8db0585a9 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 25 Jan 2018 09:33:14 +0800 Subject: [PATCH] 设备管理 --- src/main/java/com/moral/entity/Device.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moral/entity/Device.java b/src/main/java/com/moral/entity/Device.java index d180934..757f78e 100644 --- a/src/main/java/com/moral/entity/Device.java +++ b/src/main/java/com/moral/entity/Device.java @@ -32,12 +32,12 @@ * This field was generated by MyBatis Generator. This field corresponds to the database column device.longitude * @mbggenerated Wed Nov 29 16:17:59 CST 2017 */ - private Float longitude; + private double longitude; /** * This field was generated by MyBatis Generator. This field corresponds to the database column device.latitude * @mbggenerated Wed Nov 29 16:17:59 CST 2017 */ - private Float latitude; + private double latitude; /** * This field was generated by MyBatis Generator. This field corresponds to the database column device.mac * @mbggenerated Wed Nov 29 16:17:59 CST 2017 @@ -108,7 +108,7 @@ * * @return the status */ - public String getStatus() { + public String getState() { return state; } @Transient -- Gitblit v1.8.0