|
@@ -7,7 +7,7 @@
|
7
|
7
|
select u.userid,u.username,u.loginname,u.loginpwd,u.userphone,u.userbirthday,u.cardid,u.headpic,u.usertype,u.usersex,
|
8
|
8
|
u.userstate,u.opepassword,u.createid,u.createtime,u.deleteid,u.deletetime,u.schoolid,u.bindmac,u.mac,u.usertime,u.userlock
|
9
|
9
|
,u.errornum,s.year,s.schoolname,s.schoollevel,s.schoolstate,s.schoolbindmac sbindmac,s.errorrate,s.schooldomain
|
10
|
|
- ,c.cloudcode,c.stuweb
|
|
10
|
+ ,c.cloudcode,s.stuweb
|
11
|
11
|
from t_cloud c,t_user u left join t_school s on u.schoolid = s.schoolid
|
12
|
12
|
where binary u.loginname=#{loginname} limit 1
|
13
|
13
|
</select>
|
|
@@ -16,7 +16,7 @@
|
16
|
16
|
select u.userid,u.username,u.loginname,u.loginpwd,u.userphone,u.userbirthday,u.cardid,u.headpic,u.usertype,u.usersex,
|
17
|
17
|
u.userstate,u.opepassword,u.createid,u.createtime,u.deleteid,u.deletetime,u.schoolid,u.bindmac,u.mac,u.usertime,u.userlock,
|
18
|
18
|
u.errornum,s.year,s.schoolname,s.schoollevel,s.schoolstate,s.schoolbindmac sbindmac,s.errorrate,s.schooldomain
|
19
|
|
- ,c.cloudcode,c.stuweb
|
|
19
|
+ ,c.cloudcode,s.stuweb
|
20
|
20
|
from t_cloud c,t_user u left join t_school s on u.schoolid = s.schoolid
|
21
|
21
|
where u.bindphoned=1 and u.userphone=#{userphone} limit 1
|
22
|
22
|
</select>
|
|
@@ -302,7 +302,7 @@
|
302
|
302
|
</select>
|
303
|
303
|
<!--根据手机号获取用户基本信息-->
|
304
|
304
|
<select id="getUserByUserPhone" resultType="com.xhkjedu.vo.system.UserVo">
|
305
|
|
- select u.usertype,u.userstate,u.usertime,u.userlock,u.bindphoned,s.schoolstate,c.stuweb
|
|
305
|
+ select u.usertype,u.userstate,u.usertime,u.userlock,u.bindphoned,s.schoolstate,s.stuweb
|
306
|
306
|
from t_cloud c,t_user u left join t_school s on u.schoolid = s.schoolid
|
307
|
307
|
where u.userphone=#{userphone} limit 1
|
308
|
308
|
</select>
|