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
18d8269a
Commit
18d8269a
authored
Mar 25, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运切换 fix
parent
0be10791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
purchase_advise.cs
AutoTurnOver.DB/purchase_advise.cs
+2
-1
No files found.
AutoTurnOver.DB/purchase_advise.cs
View file @
18d8269a
...
@@ -177,11 +177,12 @@ from dc_auto_forecast_fluctuation as t1
...
@@ -177,11 +177,12 @@ from dc_auto_forecast_fluctuation as t1
left join dc_base_warehouse as t2 on t1.warehouse_code =t2.warehouse_code
left join dc_base_warehouse as t2 on t1.warehouse_code =t2.warehouse_code
left join dc_auto_turnover as t3 on t1.warehouse_code =t3.warehouse_code and t1.bailun_sku = t3.bailun_sku
left join dc_auto_turnover as t3 on t1.warehouse_code =t3.warehouse_code and t1.bailun_sku = t3.bailun_sku
left join dc_base_head_transport_config as t4 on t1.bailun_sku = t4.bailun_sku and t1.warehouse_code = t4.warehouse_code
left join dc_base_head_transport_config as t4 on t1.bailun_sku = t4.bailun_sku and t1.warehouse_code = t4.warehouse_code
where t1.type=2 and t2.hq_type in ('第三方仓库','FBA仓') and t1.start_time>=
now() and t1.start_time<=DATE_ADD(now(),INTERVAL t3.turnover_days day)
where t1.type=2 and t2.hq_type in ('第三方仓库','FBA仓') and t1.start_time>=
@nowDate
and t1.gmt_modified>=@btime and ifnull(t4.head_transport,'')!='空运'
and t1.gmt_modified>=@btime and ifnull(t4.head_transport,'')!='空运'
"
;
"
;
DynamicParameters
parameters
=
new
DynamicParameters
();
DynamicParameters
parameters
=
new
DynamicParameters
();
parameters
.
Add
(
"btime"
,
date
);
parameters
.
Add
(
"btime"
,
date
);
parameters
.
Add
(
"nowDate"
,
DateTime
.
Now
.
ToDayHome
());
if
(!
string
.
IsNullOrWhiteSpace
(
bailun_sku
))
if
(!
string
.
IsNullOrWhiteSpace
(
bailun_sku
))
{
{
sql
+=
$" and t1.bailun_sku='
{
bailun_sku
}
' "
;
sql
+=
$" and t1.bailun_sku='
{
bailun_sku
}
' "
;
...
...
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