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
4ac8b821
Commit
4ac8b821
authored
Feb 04, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
818c5e72
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
4 deletions
+33
-4
daily.cs
AutoTurnOver.DB/daily.cs
+3
-3
report.cs
AutoTurnOver.DB/report.cs
+5
-1
order_transfer_full_link_dto.cs
AutoTurnOver.Models/order_transfer_full_link_dto.cs
+25
-0
No files found.
AutoTurnOver.DB/daily.cs
View file @
4ac8b821
...
...
@@ -1693,7 +1693,7 @@ left join dc_auto_forecast_fluctuation as t7 on t2.sku = t7.bailun_sku and t1.ta
sql
+=
" left join dc_auto_config_sku_warehouse as t10 on t2.sku = t10.bailun_sku and t1.warehouse_code = t10.warehouse_code "
;
}
sql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0 "
;
sql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0
and t1.isexception=0
"
;
}
else
{
...
...
@@ -1748,7 +1748,7 @@ left join dc_lms_order_transfer_current_node as t8 on t1.dataid = t8.data_id and
{
sql
+=
" left join dc_auto_config_sku_warehouse as t10 on t2.sku = t10.bailun_sku and t1.targetwareno = t10.warehouse_code "
;
}
sql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0 "
;
sql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0
and t1.isexception=0
"
;
}
...
...
@@ -1773,7 +1773,7 @@ left join dc_base_stock as t5 on t2.sku = t5.bailun_sku and t1.targetwareno = t5
countSql
+=
" left join dc_auto_config_sku_warehouse as t10 on t2.sku = t10.bailun_sku and t1.warehouse_code = t10.warehouse_code "
;
}
countSql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0 "
;
countSql
+=
" where t1.stateid !=5 and t2.deliverycount > t2.storagecount and t1.isdeleted=0
and t1.isexception=0
"
;
...
...
AutoTurnOver.DB/report.cs
View file @
4ac8b821
...
...
@@ -1513,7 +1513,11 @@ where t1.bailun_sku = t2.bailun_sku and t1.warehouse_code = t2.warehouse_code;
"
,
commandTimeout
:
0
);
_connection
.
Execute
(
@" update dc_base_stock as t1,
dc_base_sku as t2
set t1.product_inner_code =t2.product_inner_code,t1.sku_title_cn=t2.sku_title_cn
where t1.bailun_sku =t2.bailun_sku
"
,
commandTimeout
:
0
);
}
catch
(
Exception
ex
)
{
...
...
AutoTurnOver.Models/order_transfer_full_link_dto.cs
View file @
4ac8b821
...
...
@@ -67,8 +67,33 @@ namespace AutoTurnOver.Models
public
string
transfer_no
{
get
;
set
;
}
public
string
box_id
{
get
;
set
;
}
public
DateTime
?
node_date
{
get
;
set
;
}
public
string
node_date_str
{
get
{
if
(
node_date
==
null
||
node_date
.
Value
.
Year
<=
2018
)
{
return
""
;
}
else
{
return
node_date
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
);
}
}
}
public
string
node_name
{
get
;
set
;
}
public
DateTime
?
expectarrivaltime
{
get
;
set
;
}
public
string
expectarrivaltime_str
{
get
{
if
(
expectarrivaltime
==
null
||
expectarrivaltime
.
Value
.
Year
<=
2018
)
{
return
""
;
}
else
{
return
expectarrivaltime
.
Value
.
ToString
(
"yyyy-MM-dd"
);
}
}
}
public
decimal
?
surplus_node_days
{
get
;
set
;
}
public
DateTime
?
node_expectarrivaltime
{
get
;
set
;
}
public
string
logistics_code
{
get
;
set
;
}
...
...
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