Commit 631ea530 authored by 耿迪迪's avatar 耿迪迪

巡线员接口修改 gengdidi

parent 02c94e41
......@@ -31,7 +31,17 @@ public class TUserLocation extends BaseEntity
@Excel(name = "纬度")
private BigDecimal latitude;
public void setLocationId(Long locationId)
private String userName;
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public void setLocationId(Long locationId)
{
this.locationId = locationId;
}
......
......@@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectTUserLocationVo">
select location_id, user_id, longitude, latitude, create_time from t_user_location
select location.location_id, location.user_id, location.longitude, location.latitude, location.create_time,(SELECT sysU.user_name FROM sys_user sysU WHERE sysU.user_id = location.user_id) AS userName from t_user_location location
</sql>
<select id="selectTUserLocationList" parameterType="TUserLocation" resultMap="TUserLocationResult">
......
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