public int ReDelete(DeleteClientParameter parameter)
 {
     this.ExecuteSQL    = "UPDATE dbo.client SET deleted=@deleted WHERE clientid=@clientid";
     this.DataParameter = new IDbDataParameter[]
     {
         new SqlParameter("@deleted", parameter.Deleted),
         new SqlParameter("@clientid", parameter.ClientId)
     };
     return(this.ExecuteNonQuery());
 }
        public RespondWebViewData <RespondDeleteClientViewModel> ReDeleteClient(RequestWebViewData <RequestDeleteClientViewModel> request)
        {
            var respond   = new RespondWebViewData <RespondDeleteClientViewModel>(WebViewErrorCode.Exception);
            var parameter = new DeleteClientParameter
            {
                ClientId = request.data.ClientId,
                Deleted  = (short)CommonDeleted.NotDeleted
            };
            var dataResult = this.mClientDataAccess.ReDelete(parameter);

            if (dataResult <= 0)
            {
                return(respond);
            }
            respond = new RespondWebViewData <RespondDeleteClientViewModel>(WebViewErrorCode.Success);
            MemcacheHelper.RemoveBy(ServiceMemcachedKeyManageConst.BasicClient);

            //由于电脑配置不上mongodb固暂时先屏蔽掉此段mongodb的数据操作
            //this.SaveMongoDbData("删除往来客户资料", request, respond, this.GetType());
            return(respond);
        }