|
|
@@ -6,6 +6,7 @@ import com.cnd3b.common.D3bException;
|
|
|
import com.cnd3b.common.data.Row;
|
|
|
import com.cnd3b.common.data.Rows;
|
|
|
import com.cnd3b.common.data.SQLFactory;
|
|
|
+import com.cnd3b.common.parameter.parameter;
|
|
|
import p2.pao.PaoRemote;
|
|
|
import p2.pao.PaoSetRemote;
|
|
|
import p2.util.P2Exception;
|
|
|
@@ -71,6 +72,13 @@ public class usermsg extends Controller {
|
|
|
pao.setValue("faddress", faddress, 11L);
|
|
|
pao.setValue("frole", frole, 11L);
|
|
|
tenterprise_usersSet.save();
|
|
|
+
|
|
|
+ //修改账号姓名等缓存信息
|
|
|
+ Row row = parameter.userIdList.get(userid);
|
|
|
+ row.put("fname", fname);
|
|
|
+ parameter.userIdList.put(userid, row);
|
|
|
+ headPicMap.remove(userid);//清除头像缓存
|
|
|
+
|
|
|
dbConnect.runSqlUpdate("update tagents set faddress='" + faddress + "' where siteid='" + siteid + "' and tagentsid=" + tagentsid + " and ftype='个人'");
|
|
|
} else {
|
|
|
throw new D3bException("找不到账号信息");
|