Commit 4dcda3aa authored by 耿迪迪's avatar 耿迪迪

居民安检位置小程序接口

parent 236a20c0
...@@ -136,6 +136,10 @@ public class TUser extends BaseEntity ...@@ -136,6 +136,10 @@ public class TUser extends BaseEntity
/**安检人*/ /**安检人*/
private String inspector; private String inspector;
private String inspectLongitude;
private String inspectLatitude;
public String getMeternum() { public String getMeternum() {
return meternum; return meternum;
...@@ -443,6 +447,22 @@ public class TUser extends BaseEntity ...@@ -443,6 +447,22 @@ public class TUser extends BaseEntity
this.inspector = inspector; this.inspector = inspector;
} }
public String getInspectLongitude() {
return inspectLongitude;
}
public void setInspectLongitude(String inspectLongitude) {
this.inspectLongitude = inspectLongitude;
}
public String getInspectLatitude() {
return inspectLatitude;
}
public void setInspectLatitude(String inspectLatitude) {
this.inspectLatitude = inspectLatitude;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
......
...@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT u.id, u.usernum,u.city, u.county, u.street, u.village, u.address,u.longitude,u.latitude,u.meternum,u.idcard,u.branch, SELECT u.id, u.usernum,u.city, u.county, u.street, u.village, u.address,u.longitude,u.latitude,u.meternum,u.idcard,u.branch,
u.username, u.phone, u.type, u.status, u.starttime, u.device, u.meter_type, u.meter_company,u.imgurl,u.position,u.task_Type, u.username, u.phone, u.type, u.status, u.starttime, u.device, u.meter_type, u.meter_company,u.imgurl,u.position,u.task_Type,
u.meter_model, u.direction, u.task_id, u.remark,t.`area_name` AS countyName, u.meter_model, u.direction, u.task_id, u.remark,t.`area_name` AS countyName,
ts.`area_name` AS streetName,c.name AS villageName,IFNULL(tp.status,-1)as ajstatus, su.nick_name as inspector ts.`area_name` AS streetName,c.name AS villageName,IFNULL(tp.status,-1)as ajstatus, su.nick_name as inspector,tp.longitude as inspectLongitude,tp.latitude as inspectLatitude
FROM t_user u FROM t_user u
LEFT JOIN t_area t ON t.`id` = u.`county` LEFT JOIN t_area t ON t.`id` = u.`county`
LEFT JOIN t_area ts ON ts.id = u.`street` LEFT JOIN t_area ts ON ts.id = u.`street`
......
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