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
9d190643
Commit
9d190643
authored
Mar 31, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
子sku不出建议数
parent
104f0ac7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
purchase_advise.cs
AutoTurnOver.DB/purchase_advise.cs
+1
-2
PurchaseAdviseServices.cs
AutoTurnOver.Services/PurchaseAdviseServices.cs
+0
-4
No files found.
AutoTurnOver.DB/purchase_advise.cs
View file @
9d190643
...
...
@@ -519,6 +519,7 @@ t1.is_mother_sku as 'is_mother_map_sku'
left join dc_auto_replace_logistics_task as tr_task on t1.auto_replace_logistics_task_id = tr_task.id
left join dc_mid_transit as t9 on t1.bailun_sku = t9.bailun_sku and t1.warehouse_code = t9.warehouse_code
where 1=1
and t1.bailun_sku_warehouse_code not in ( select bailun_sku_warehouse_code from dc_base_mother_sku_map ) -- 子sku不出
and ( t1.is_mother_sku =1 or (
t6.`status`=2
-- and (t1.history_fourteenday_sales>0 or t1.quantity_out_stock>0 )
...
...
@@ -534,8 +535,6 @@ and ( t5.`status`=0 or t5.`status` is null ) and t7.sum_quantity_init_advise>0
"
,
new
{
main_id
=
mainID
,
btime
=
date
},
commandTimeout
:
0
).
ToList
();
Console
.
WriteLine
(
"开始出建议 完"
);
if
(
datas1
!=
null
&&
datas1
.
Count
>=
1
)
{
var
datas2
=
SetMotherSkuStorageCapacity
(
datas1
);
...
...
AutoTurnOver.Services/PurchaseAdviseServices.cs
View file @
9d190643
...
...
@@ -30,10 +30,6 @@ namespace AutoTurnOver.Services
foreach
(
var
item
in
change_datas
)
{
if
(
item
.
bailun_sku
==
"946497701"
&&
item
.
warehouse_code
==
"GBFBABLA"
)
{
}
//刷新母sku
dc_base_mother_sku_dao
.
ResetTurnOverByMapSku
(
item
.
bailun_sku
,
item
.
warehouse_code
);
}
...
...
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