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
f8d76ab6
Commit
f8d76ab6
authored
Mar 03, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增平均启航时间
parent
d7185534
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+5
-0
dc_auto_turnover.cs
AutoTurnOver.Models/dc_auto_turnover.cs
+6
-0
dc_base_order_data_source.cs
AutoTurnOver.Models/dc_base_order_data_source.cs
+1
-1
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
f8d76ab6
...
...
@@ -1152,6 +1152,11 @@ from dc_auto_turnover_air where gmt_modified>=@btime and gmt_modified<=@etime
countSql
+=
" and t1.order_type=@order_type "
;
parameters
.
Add
(
"order_type"
,
searchData
.
order_type_str
);
}
if
(
searchData
.
order_type
==
24
)
{
sql
+=
" and t1.sail_days>0 "
;
countSql
+=
" and t1.sail_days>0 "
;
}
sql
+=
" limit "
+
offset
+
","
+
limit
;
total
=
_connection
.
QueryFirstOrDefault
<
int
>(
countSql
,
parameters
);
return
_connection
.
Query
<
dc_base_order_data_source_dto
>(
sql
,
parameters
).
AsList
();
...
...
AutoTurnOver.Models/dc_auto_turnover.cs
View file @
f8d76ab6
...
...
@@ -19,6 +19,10 @@ namespace AutoTurnOver.Models
/// </summary>
public
string
purchase_advice_id
{
get
;
set
;
}
/// <summary>
/// 调拨启航天数
/// </summary>
public
decimal
transfer_sail_days
{
get
;
set
;
}
/// <summary>
/// 销量预测公式
/// </summary>
public
string
sales_details_formula
{
get
;
set
;
}
...
...
@@ -188,12 +192,14 @@ namespace AutoTurnOver.Models
/// 调拨打包天数
/// </summary>
public
decimal
transfer_bale_delivery
{
get
;
set
;
}
public
string
transfer_bale_delivery_source
{
get
;
set
;
}
/// <summary>
/// 海外仓入库天数
/// </summary>
public
decimal
abroad_inbound_delivery
{
get
;
set
;
}
public
string
abroad_inbound_delivery_source
{
get
;
set
;
}
/// <summary>
...
...
AutoTurnOver.Models/dc_base_order_data_source.cs
View file @
f8d76ab6
...
...
@@ -78,7 +78,7 @@ namespace AutoTurnOver.Models
{
return
"采购单-下单天数计算"
;
}
else
if
(
order_type
==
21
||
order_type
==
22
||
order_type
==
23
)
else
if
(
order_type
==
21
||
order_type
==
22
||
order_type
==
23
||
order_type
==
24
)
{
return
"调拨单-平均天数计算"
;
}
...
...
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