diff --git a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSettledDetailDiffExportService.cs b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSettledDetailDiffExportService.cs index 641cdb1a..166889fe 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSettledDetailDiffExportService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSettledDetailDiffExportService.cs @@ -67,7 +67,7 @@ namespace SettleAccount.Job.Services //} if (!string.IsNullOrEmpty(kanban)) { - var _groupList = kanban.Split(new char[] { ',' }).Distinct().ToList(); + var _groupList = kanban.Split(new char[] { '\n' }).Distinct().ToList(); if (_groupList.Count() > 0) { _ls = _ls.Where(p => _groupList.Contains(p.结算物料号)).ToList(); @@ -77,7 +77,7 @@ namespace SettleAccount.Job.Services if (!string.IsNullOrEmpty(warehouseDesc)) { - var _groupList = warehouseDesc.Split(new char[] { ',' }).Distinct().ToList(); + var _groupList = warehouseDesc.Split(new char[] { '\n' }).Distinct().ToList(); if (_groupList.Count() > 0) { _ls = _ls.Where(p => _groupList.Contains(p.收货仓库描述)).ToList(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSharePartSettledDetailDiffExportService.cs b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSharePartSettledDetailDiffExportService.cs index 7b3b6ac8..9971d8ea 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSharePartSettledDetailDiffExportService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/HQFSharePartSettledDetailDiffExportService.cs @@ -66,7 +66,7 @@ namespace SettleAccount.Job.Services } if (!string.IsNullOrEmpty(kanban)) { - var _groupList = kanban.Split(new char[] { ',' }).Distinct().ToList(); + var _groupList = kanban.Split(new char[] { '\n' }).Distinct().ToList(); if (_groupList.Count() > 0) { _ls = _ls.Where(p => _groupList.Contains(p.订货看板编号)).ToList(); @@ -76,7 +76,7 @@ namespace SettleAccount.Job.Services if (!string.IsNullOrEmpty(warehouseDesc)) { - var _groupList = warehouseDesc.Split(new char[] { ',' }).Distinct().ToList(); + var _groupList = warehouseDesc.Split(new char[] { '\n' }).Distinct().ToList(); if (_groupList.Count() > 0) { _ls = _ls.Where(p => _groupList.Contains(p.收货仓库描述)).ToList(); @@ -85,7 +85,7 @@ namespace SettleAccount.Job.Services if (!string.IsNullOrEmpty(acceptNo)) { - var _groupList = acceptNo.Split(new char[] { ',' }).Distinct().ToList(); + var _groupList = acceptNo.Split(new char[] { '\n' }).Distinct().ToList(); if (_groupList.Count() > 0) { _ls = _ls.Where(p => _groupList.Contains(p.结算验收单号)).ToList();