diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs index 9901d25..02f764b 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs @@ -221,7 +221,7 @@ namespace EasyBL.WEBAPP.SYS #region Upload 上傳文件 - public HttpResponseMessage Upload(string OrgID, string Account) + public HttpResponseMessage Upload() { SuccessResponseMessage srm = null; string sError = null; @@ -229,7 +229,6 @@ namespace EasyBL.WEBAPP.SYS { var c = HttpContext.Current; - //var c = MemberPicture; var sGUID = Guid.NewGuid().ToString(); SECommonService commonService = new SECommonService(); @@ -241,9 +240,7 @@ namespace EasyBL.WEBAPP.SYS var db = SugarBase.DB; SETB_CMS_Member i_crm = new SETB_CMS_Member(); //// 缺userid 和orgid - var iRel = db.Updateable(i_crm) - .Where(i_crm.OrgID == OrgID && i_crm.Accountz) - .ExecuteCommand(); + var iRel = db.Updateable(i_crm).ExecuteCommand(); srm = new SuccessResponseMessage(null, null); srm.DATA.Add(BLWording.REL, iRel); }