Commit 781e7320 authored by 耿迪迪's avatar 耿迪迪

值班人员昵称 gengdidi

parent 97f2a337
...@@ -35,6 +35,16 @@ public class TUserLocation extends BaseEntity ...@@ -35,6 +35,16 @@ public class TUserLocation extends BaseEntity
private String phonenumber; private String phonenumber;
private String nickName;
public String getNickName() {
return nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public String getUserName() { public String getUserName() {
return userName; return userName;
} }
......
...@@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectTUserLocationVo"> <sql id="selectTUserLocationVo">
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,(SELECT sysU.phonenumber FROM sys_user sysU WHERE sysU.user_id = location.user_id) AS phonenumber from t_user_location 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,(SELECT sysU.phonenumber FROM sys_user sysU WHERE sysU.user_id = location.user_id) AS phonenumber,(SELECT sysU.nick_name FROM sys_user sysU WHERE sysU.user_id = location.user_id) AS nickName from t_user_location location
</sql> </sql>
<select id="selectTUserLocationList" parameterType="TUserLocation" resultMap="TUserLocationResult"> <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