From 8c376ad1aa5a55383ca071de62aca125391a0fe8 Mon Sep 17 00:00:00 2001 From: Janie <109517022+Janie06@users.noreply.github.com> Date: Mon, 6 Feb 2023 18:19:26 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E6=9C=83=E5=93=A1=E4=B8=8A=E5=82=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EuroTran/EasyBL.WEBAPP/ShowEasy/MembersService.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); }