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
7ea1bee5
Commit
7ea1bee5
authored
Nov 19, 2021
by
zhoujinhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
张莹霞1 不推送采购创建
parent
9d394b6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PurchaseAdviseServices.cs
AutoTurnOver.Services/PurchaseAdviseServices.cs
+2
-2
No files found.
AutoTurnOver.Services/PurchaseAdviseServices.cs
View file @
7ea1bee5
...
...
@@ -550,8 +550,8 @@ namespace AutoTurnOver.Services
// 查询当前有缺货的sku
Console
.
WriteLine
(
$"拆分ebay+wish 的逻辑"
);
var
shortageSkuList
=
purchase_advise
.
ShortageSkuList
(
new
List
<
string
>
{
"ebay"
,
"wish"
},
new
List
<
string
>
{
"张莹霞"
});
alone_datas
=
datas
.
Where
(
s
=>
shortageSkuList
.
Any
(
v
=>
v
==
s
.
bailun_sku
)).
ToList
();
other_datas
=
datas
.
Where
(
s
=>
!
shortageSkuList
.
Any
(
v
=>
v
==
s
.
bailun_sku
)).
ToList
();
alone_datas
=
datas
.
Where
(
s
=>
shortageSkuList
.
Any
(
v
=>
v
==
s
.
bailun_sku
)
&&
s
.
buyer_name
!=
"张莹霞1"
).
ToList
();
other_datas
=
datas
.
Where
(
s
=>
!
shortageSkuList
.
Any
(
v
=>
v
==
s
.
bailun_sku
)
&&
s
.
buyer_name
!=
"张莹霞1"
).
ToList
();
Console
.
WriteLine
(
$"ebay+wish 总数:
{
alone_datas
.
Count
()}
"
);
Console
.
WriteLine
(
$"其他总数:
{
other_datas
.
Count
()}
"
);
if
(
alone_datas
!=
null
&&
alone_datas
.
Count
>
0
)
...
...
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