Commit 3dfcabb1 by Jbb

把实体里面的基本类型 变为包装类

parent 5aa08baa
...@@ -18,8 +18,8 @@ public class TbStLayerData extends PageInfo implements Serializable { ...@@ -18,8 +18,8 @@ public class TbStLayerData extends PageInfo implements Serializable {
private String xxzjbh; private String xxzjbh;
@TableField(value = "gl_xxzjbh") @TableField(value = "gl_xxzjbh")
private String glXxzjbh; private String glXxzjbh;
private double x; //经度 private Double x; //经度
private double y; //纬度 private Double y; //纬度
private String xStr; //保存错误的经度 private String xStr; //保存错误的经度
private String yStr; //保存错误的纬度 private String yStr; //保存错误的纬度
private String title; //事故提示 private String title; //事故提示
...@@ -42,19 +42,19 @@ public class TbStLayerData extends PageInfo implements Serializable { ...@@ -42,19 +42,19 @@ public class TbStLayerData extends PageInfo implements Serializable {
this.glXxzjbh = glXxzjbh; this.glXxzjbh = glXxzjbh;
} }
public double getX() { public Double getX() {
return x; return x;
} }
public void setX(double x) { public void setX(Double x) {
this.x = x; this.x = x;
} }
public double getY() { public Double getY() {
return y; return y;
} }
public void setY(double y) { public void setY(Double y) {
this.y = y; this.y = y;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment