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
a76981fe
Commit
a76981fe
authored
Feb 26, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2f5b0dc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
report.cs
AutoTurnOver.DB/report.cs
+4
-2
Program.cs
ResetOutofstock/Program.cs
+1
-1
No files found.
AutoTurnOver.DB/report.cs
View file @
a76981fe
...
...
@@ -4153,7 +4153,7 @@ where t2.hq_type='fba仓'").ToList();
// 查询真实的调拨在途
var
datas
=
_connection
.
Query
<
dc_base_trans_expectarrivaltime_temp
>(
@"select
t2.expectarrivaltime
as 'expectarrivaltime',
ifnull(t8.expectarrivaltime,t2.expectarrivaltime)
as 'expectarrivaltime',
t1.sku as 'bailun_sku',
t2.targetwareno as 'warehouse_code',
t1.deliverycount - t1.storagecount as 'count',
...
...
@@ -4162,7 +4162,9 @@ ifnull(t2.purchasecode,'') as 'purchase_id'
from dc_base_transfer_info_skus as t1
left join dc_base_transfer_info as t2 on t1.dataid =t2.dataid
left join dc_base_warehouse as t3 on t2.targetwareno = t3.warehouse_code
where t2.isdeleted=0 and t2.stateid not in (5,11,12) and t1.deliverycount > t1.storagecount
left join ( select * from dc_lms_order_transfer_current_node GROUP BY data_id,sku ) as t8 on t2.dataid = t8.data_id and t1.sku = t8.sku
where t2.isdeleted=0 and t2.stateid not in (5,11,12)
and t1.deliverycount > t1.storagecount
and t3.hq_type='fba仓' and t2.expectarrivaltime >='1991-01-01'"
).
ToList
();
// 计算国内入库,还没有调拨单的数据
...
...
ResetOutofstock/Program.cs
View file @
a76981fe
...
...
@@ -17,7 +17,7 @@ namespace ResetOutofstock
{
var
now
=
DateTime
.
Now
;
report
.
GenerateWeekTagStockDatas
();
//
report.GenerateWeekTagStockDatas();
}
catch
(
Exception
ex
)
{
...
...
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