Commit e40892a9 authored by 徐州's avatar 徐州

修改数据库字段

parent ae495b19
......@@ -53,7 +53,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="show_mobile"/>
<result property="showMobile" column="showMobile"/>
</resultMap>
<!-- 用于select查询公用抽取的列 -->
......@@ -63,7 +63,7 @@
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,show_mobile AS showMobile
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,showMobile
]]>
</sql>
......@@ -102,7 +102,7 @@
updateIp,
preLoginTime,
lastLoginTime,
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show_mobile
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,showMobile
) VALUES (
#id#,
#name#,
......@@ -350,7 +350,7 @@
</isNotEmpty>
<isNotEmpty prepend="," property="showMobile">
<![CDATA[
show_mobile = #showMobile#
showMobile = #showMobile#
]]>
</isNotEmpty>
</dynamic>
......
......@@ -47,7 +47,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="show_mobile" />
<result property="showMobile" column="showMobile" />
</resultMap>
<resultMap id="infoMap2" type="com.house365.beans.entity.UserSimpleEntity">
......@@ -92,7 +92,7 @@
SELECT id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,show_mobile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,showMobile
FROM user
where id = #{id} AND enabled = 1
</select>
......@@ -149,7 +149,7 @@
AND online_status = #{onlineStatus}
</if>
<if test="showMobile != null and showMobile >= 0">
AND show_mobile = #{showMobile}
AND showMobile = #{showMobile}
</if>
<if test="deptId != null and deptId >= 0 ">
AND deptId = #{deptId}
......@@ -231,7 +231,7 @@
select id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,show_mobile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,showMobile
from user where name = #{name}
</select>
......
#jdbc.url=jdbc:mysql://202.102.83.153:3306/house365-hgs?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#jdbc.url=jdbc:mysql://192.168.105.101:3306/house365-hgs-temp?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#?????
jdbc.url=jdbc:mysql://192.168.105.101:3306/house365_hgs_online?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
jdbc.username=root
jdbc.maxIdle=30
jdbc.minIdle=25
jdbc.password=root
#jdbc.password=root
jdbc.maxWait=1000
jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.maxActive=50
#Test???
#jdbc.url=jdbc:mysql://202.102.88.49:3306/house365-hgs-test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#jdbc.username=root
#jdbc.maxIdle=30
#jdbc.minIdle=25
#jdbc.password=idontcare
#jdbc.maxWait=1000
#jdbc.driverClassName=com.mysql.jdbc.Driver
#jdbc.maxActive=50
......@@ -53,7 +53,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="show_mobile"/>
<result property="showMobile" column="showMobile"/>
</resultMap>
<!-- 用于select查询公用抽取的列 -->
......@@ -63,7 +63,7 @@
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,show_mobile AS showMobile
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,showMobile
]]>
</sql>
......@@ -102,7 +102,7 @@
updateIp,
preLoginTime,
lastLoginTime,
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show_mobile
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,showMobile
) VALUES (
#id#,
#name#,
......@@ -350,7 +350,7 @@
</isNotEmpty>
<isNotEmpty prepend="," property="showMobile">
<![CDATA[
show_mobile = #showMobile#
showMobile = #showMobile#
]]>
</isNotEmpty>
</dynamic>
......
......@@ -47,7 +47,7 @@
<result property="wxCodeImgUrl" column="wx_code_imgUrl"/>
<result property="promoteId" column="promote_id"/>
<result property="onlineStatus" column="online_status"/>
<result property="showMobile" column="show_mobile" />
<result property="showMobile" column="showMobile" />
</resultMap>
<resultMap id="infoMap2" type="com.house365.beans.entity.UserSimpleEntity">
......@@ -92,7 +92,7 @@
SELECT id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,show_mobile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,showMobile
FROM user
where id = #{id} AND enabled = 1
</select>
......@@ -152,7 +152,7 @@
AND deptId = #{deptId}
</if>
<if test="showMobile != null and showMobile >= 0">
AND show_mobile = #{showMobile}
AND showMobile = #{showMobile}
</if>
<if test="deptIdList != null and deptIdList.size() > 0 ">
AND deptId in
......@@ -231,7 +231,7 @@
select id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,show_mobile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,showMobile
from user where name = #{name}
</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