|
@@ -350,7 +350,7 @@ public class UserServiceImpl implements UserService {
|
|
|
close();
|
|
|
DBConnection1();
|
|
|
if( excSelect2("select * from s_user t where t.id = '"+sUserId+"'",this.coon1)!= null){
|
|
|
- excUpdate("update s_user t set t.last_oper_time = now() where t.id = '"+sUserId+"'",this.coon1);
|
|
|
+ excUpdate("update s_user t set t.last_oper_time = now(),t.cid = '"+cid+"' where t.id = '"+sUserId+"'",this.coon1);
|
|
|
}
|
|
|
else{
|
|
|
excInsert("insert into s_user (id,nick_name,user_name,password,avatar,money,status,oper_time,last_oper_time) " +
|
|
@@ -792,7 +792,7 @@ public class UserServiceImpl implements UserService {
|
|
|
close();
|
|
|
DBConnection1();
|
|
|
if( excSelect2("select * from s_user t where t.id = '"+sUserId+"'",this.coon1)!= null){
|
|
|
- excUpdate("update s_user t set t.last_oper_time = now() where t.id = '"+sUserId+"'",this.coon1);
|
|
|
+ excUpdate("update s_user t set t.last_oper_time = now(),t.cid = '"+cid+"' where t.id = '"+sUserId+"'",this.coon1);
|
|
|
}
|
|
|
else{
|
|
|
excInsert("insert into s_user (id,nick_name,user_name,password,avatar,money,status,oper_time,last_oper_time) " +
|