Commit fef106f1 authored by 徐州's avatar 徐州

修改线上环境数据库参数

parent 5120915f
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/> <result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/> <result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/> <result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="showMobile"/>
</resultMap> </resultMap>
<!-- 用于select查询公用抽取的列 --> <!-- 用于select查询公用抽取的列 -->
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/> <result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/> <result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/> <result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="showMobile" />
</resultMap> </resultMap>
<resultMap id="infoMap2" type="com.house365.beans.entity.UserSimpleEntity"> <resultMap id="infoMap2" type="com.house365.beans.entity.UserSimpleEntity">
...@@ -91,7 +92,7 @@ ...@@ -91,7 +92,7 @@
SELECT id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender, SELECT id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid, email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat, updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,showMobile
FROM user FROM user
where id = #{id} AND enabled = 1 where id = #{id} AND enabled = 1
</select> </select>
...@@ -150,6 +151,9 @@ ...@@ -150,6 +151,9 @@
<if test="deptId != null and deptId >= 0 "> <if test="deptId != null and deptId >= 0 ">
AND deptId = #{deptId} AND deptId = #{deptId}
</if> </if>
<if test="showMobile != null and showMobile >= 0">
AND showMobile = #{showMobile}
</if>
<if test="deptIdList != null and deptIdList.size() > 0 "> <if test="deptIdList != null and deptIdList.size() > 0 ">
AND deptId in AND deptId in
<foreach collection="deptIdList" index="index" item="item" open="(" separator="," close=")"> <foreach collection="deptIdList" index="index" item="item" open="(" separator="," close=")">
...@@ -227,7 +231,7 @@ ...@@ -227,7 +231,7 @@
select id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender, select id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid, email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat, updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,showMobile
from user where name = #{name} from user where name = #{name}
</select> </select>
......
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