public bool SysUserInfoUpdateNew(T_SYS_USER obj,bool isSupper) { Tracer.Debug("SysUserInfoUpdateNew-修改了用户信息" + obj.USERNAME + obj.EMPLOYEENAME); using (SysUserBLL UserBll = new SysUserBLL()) { string keyString = "GetUserByEmployeeID" + obj.EMPLOYEEID; WCFCache.Current[keyString] = null; //清空即时通讯的缓存 string InstantkeyString = "ImInstantLoginUsers"; WCFCache.Current[InstantkeyString] = null; //Tracer.Debug("修改了用户信息"+obj.USERNAME + obj.EMPLOYEENAME); if (isSupper) { return UserBll.UpdateSysUserInfoForNewSupper(obj, isSupper); } else { return UserBll.UpdateSysUserInfo(obj); } } }