|
@@ -157,11 +157,11 @@ namespace XYY.Api.Finance.Controllers
|
|
|
System.Net.WebClient client = new System.Net.WebClient();
|
|
|
byte[] data = client.DownloadData(url);
|
|
|
MSExcelHelper excelHelper = new MSExcelHelper();
|
|
|
- excelHelper.LoadDataByByte<CustomerSupplementMapping, Finance_Customer_Supplement>(data);
|
|
|
+ list = excelHelper.LoadDataByByte<CustomerSupplementMapping, Finance_Customer_Supplement>(data);
|
|
|
foreach (var item in list)
|
|
|
{
|
|
|
item.CurrenyRate = currencyCode;
|
|
|
- item.SupplementTargetType = (int)type;
|
|
|
+ item.SupplementTargetType = (int)targetValue;
|
|
|
item.FinanceCustomerSupplementType = type;
|
|
|
}
|
|
|
FinanceCustomerSupplementOrDeductionType financeCustomerSupplementType = type;
|