Explorar o código

进件子商户bug

lcl hai 5 meses
pai
achega
ebe27fa066
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs

+ 2 - 2
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -259,10 +259,10 @@ namespace MySystem.Areas.Api.Controllers.v1
                     Dictionary<string, object> Fiel = new Dictionary<string, object>();
                     Fiel.Add("CertMerchantName", CertMerchantName);
                     Fiel.Add("OutMchtNo", MerchantAddInfoService.Query(MerchantAddInfoId).OutMchtNo); //费率
-                    int AddInfoId = (int)MerchantAddInfoService.Add(Fiel, false).Data;
+                    MerchantAddInfoId = (int)MerchantAddInfoService.Add(Fiel, false).Data;
 
                     Fiel = new Dictionary<string, object>();
-                    Fiel.Add("Id", AddInfoId);
+                    Fiel.Add("Id", MerchantAddInfoId);
                     Fiel.Add("UserId", UserId);
                     Fiel.Add("Name", CertMerchantName);
                     MerchantInfoService.Add(Fiel, false);