From 788489c7e95352a11cf5ec40a7a9c7277e5cc0f3 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Fri, 02 Feb 2018 09:19:53 +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..ec0b15f 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