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
62b98eda
Commit
62b98eda
authored
Mar 04, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第三方仓的调拨在途也自己计算
parent
e460b7f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
report.cs
AutoTurnOver.DB/report.cs
+2
-2
Program.cs
AutoTurnOver.Purchase.AverageTarget/Program.cs
+1
-1
No files found.
AutoTurnOver.DB/report.cs
View file @
62b98eda
...
...
@@ -4166,7 +4166,7 @@ left join ( select * from dc_lms_order_transfer_current_node GROUP BY data_id,s
where t2.isdeleted=0 and t2.stateid not in (5,11,12)
and t1.deliverycount > t1.storagecount
and t2.isexception = 0
and t3.hq_type
='fba仓'
and t2.expectarrivaltime >='1991-01-01'"
).
ToList
();
and t3.hq_type
in ('fba仓','第三方仓库')
and t2.expectarrivaltime >='1991-01-01'"
).
ToList
();
// 计算国内入库,还没有调拨单的数据
var
temp_p_datas
=
_connection
.
Query
<
dc_base_trans_expectarrivaltime_temp
>(
@"select
...
...
@@ -4178,7 +4178,7 @@ t1.target_ware_no as 'warehouse_code' ,
'1991-01-01' as 'expectarrivaltime'
from dc_base_trans_temp_schedule as t1
left join dc_base_warehouse as t2 on t1.target_ware_no = t2.warehouse_code
where t1.is_delete=0 and t1.is_temp_data=1 and t1.is_exception=0 and t2.hq_type
='fba仓'
and t1.create_state in (0,1)
where t1.is_delete=0 and t1.is_temp_data=1 and t1.is_exception=0 and t2.hq_type
in ('fba仓')
and t1.create_state in (0,1)
"
).
ToList
();
// 查询计划单
...
...
AutoTurnOver.Purchase.AverageTarget/Program.cs
View file @
62b98eda
...
...
@@ -25,7 +25,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
{
//report.ResetTransExpectArrivaltime();
//PurchaseAverageTargetServices.CalculationTransfer("LM-EO-007", days: (360 * 3));
//PurchaseAverageTargetServices.Calculation("
945326702
", days: (360 * 3));
//PurchaseAverageTargetServices.Calculation("
243903601
", days: (360 * 3));
}
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