/// <summary>
        /// 设置用户通讯密码
        /// </summary>
        /// <param name="userInfo">用户</param>
        /// <param name="userId">被设置的员工主键</param>
        /// <param name="password">新密码</param>
        /// <param name="statusCode">返回状态码</param>
        /// <param name="statusMessage">返回状消息</param>
        /// <returns>影响行数</returns>
        public int SetCommunicationPassword(BaseUserInfo userInfo, string[] userIds, string password, out string statusCode, out string statusMessage)
        {
            var parameter = ServiceParameter.CreateWithLog(userInfo
                                                           , MethodBase.GetCurrentMethod());
            int    result        = 0;
            string returnCode    = string.Empty;
            string returnMessage = string.Empty;

            ServiceUtil.ProcessUserCenterWriteDb(parameter, (dbHelper) =>
            {
                var userManager = new BaseUserLogOnManager(dbHelper, userInfo);
                result          = userManager.BatchSetCommunicationPassword(userIds, password, out returnCode);
                // 获得状态消息
                returnMessage = userManager.GetStateMessage(returnCode);
                BaseLogManager.Instance.Add(userInfo, this.serviceName, AppMessage.LogOnService_SetPassword, MethodBase.GetCurrentMethod());
            });
            statusCode    = returnCode;
            statusMessage = returnMessage;
            return(result);
        }