Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
data-center-auto
Commits
b07b191e
Commit
b07b191e
authored
Jun 26, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化缺货数据导出
parent
4cb2fe5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
quantity_out_stock_detail_dto.cs
AutoTurnOver.Models/Report/quantity_out_stock_detail_dto.cs
+3
-3
No files found.
AutoTurnOver.Models/Report/quantity_out_stock_detail_dto.cs
View file @
b07b191e
...
@@ -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
<
3
)
continue
;
if
(
buy_array_length
<
5
)
continue
;
try
try
{
{
datas
.
Add
(
new
buy_ontheway_detail_dto
datas
.
Add
(
new
buy_ontheway_detail_dto
...
@@ -195,9 +195,9 @@ namespace AutoTurnOver.Models.Report
...
@@ -195,9 +195,9 @@ namespace AutoTurnOver.Models.Report
logistics_order_id
=
buy_array_length
<
7
?
""
:
buy_array
[
6
].
Trim
(),
logistics_order_id
=
buy_array_length
<
7
?
""
:
buy_array
[
6
].
Trim
(),
});
});
}
}
catch
catch
(
Exception
ex
)
{
{
throw
new
Exception
(
temp_sry
);
throw
new
Exception
(
temp_sry
+
ex
.
Message
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment