Commit 4cb2fe5a by lizefeng

优化实时缺货导出异常

parent e0f0cf76
...@@ -181,7 +181,7 @@ namespace AutoTurnOver.Models.Report ...@@ -181,7 +181,7 @@ namespace AutoTurnOver.Models.Report
var temp_sry = buy_str.Replace("【", "").Replace("】", ""); var temp_sry = buy_str.Replace("【", "").Replace("】", "");
var buy_array = temp_sry.Split('|');// Trim() var buy_array = temp_sry.Split('|');// Trim()
var buy_array_length = buy_array.Count(); var buy_array_length = buy_array.Count();
if (buy_array_length < 4) continue; if (buy_array_length < 3) continue;
try try
{ {
datas.Add(new buy_ontheway_detail_dto datas.Add(new buy_ontheway_detail_dto
......
...@@ -33,6 +33,6 @@ ...@@ -33,6 +33,6 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties appsettings_1prod_1json__JSONSchema="" /></VisualStudio></ProjectExtensions> <ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions>
</Project> </Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment