From 177ee7d57fbddb832a359bda43369b039bf8d65b Mon Sep 17 00:00:00 2001 From: dibakor Date: Sun, 2 Aug 2026 17:24:50 +0600 Subject: [PATCH] issue in discount api --- .../Services/MobileApp/MobileMasterDataService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Api/OnlineSalesAutoCrop.CoreAPI.Services/Services/MobileApp/MobileMasterDataService.cs b/Api/OnlineSalesAutoCrop.CoreAPI.Services/Services/MobileApp/MobileMasterDataService.cs index a7ec9be..6f9e197 100644 --- a/Api/OnlineSalesAutoCrop.CoreAPI.Services/Services/MobileApp/MobileMasterDataService.cs +++ b/Api/OnlineSalesAutoCrop.CoreAPI.Services/Services/MobileApp/MobileMasterDataService.cs @@ -729,8 +729,8 @@ public class MobileMasterDataService : IMobileMasterDataService SalesOrgCode = dr.IsDBNull(0) ? null : dr.GetString(0), DiscountCode = dr.GetString(1), DiscountName = dr.GetString(2), - DistributorChannelCode = dr.IsDBNull(0) ? null : dr.GetString(3), - DistributorChannelName = dr.IsDBNull(0) ? null : dr.GetString(4), + DistributorChannelCode = dr.IsDBNull(3) ? null : dr.GetString(3), + DistributorChannelName = dr.IsDBNull(4) ? null : dr.GetString(4), DiscountType = (DiscountTypeEnum)dr.GetInt32(5) }); }