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
3bb329ca
Commit
3bb329ca
authored
Aug 30, 2021
by
zhoujinhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增日期条件查询
parent
e877aeaa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
0 deletions
+36
-0
dc_auto_week_negative_profit_details_dao.cs
AutoTurnOver.DB/dc_auto_week_negative_profit_details_dao.cs
+8
-0
dc_auto_week_redundancy_details_dao.cs
AutoTurnOver.DB/dc_auto_week_redundancy_details_dao.cs
+8
-0
week_negative_profit_details_page_input_dto.cs
...Statistics/week_negative_profit_details_page_input_dto.cs
+10
-0
week_redundancy_details_page_input_dto.cs
...eeklyStatistics/week_redundancy_details_page_input_dto.cs
+10
-0
No files found.
AutoTurnOver.DB/dc_auto_week_negative_profit_details_dao.cs
View file @
3bb329ca
...
...
@@ -20,6 +20,14 @@ namespace AutoTurnOver.DB
{
sql
.
Append
(
$" AND t1.bailun_sku = '
{
m
.
bailun_sku
}
' "
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
m
.
start_date
))
{
sql
.
Append
(
$" AND t1.create_date_time >= '
{
m
.
start_date
}
' "
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
m
.
end_date
))
{
sql
.
Append
(
$" AND t1.create_date_time < '
{
m
.
end_date
}
' "
);
}
sql
.
Append
(
" ORDER BY t1.create_date_time DESC "
);
try
{
...
...
AutoTurnOver.DB/dc_auto_week_redundancy_details_dao.cs
View file @
3bb329ca
...
...
@@ -35,6 +35,14 @@ namespace AutoTurnOver.DB
{
sql
.
Append
(
$" AND t1.warehouse_code = '
{
m
.
warehousecode
}
' "
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
m
.
start_date
))
{
sql
.
Append
(
$" AND t1.create_date_time >= '
{
m
.
start_date
}
' "
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
m
.
end_date
))
{
sql
.
Append
(
$" AND t1.create_date_time < '
{
m
.
end_date
}
' "
);
}
sql
.
Append
(
" ORDER BY t1.create_date_time DESC "
);
try
{
...
...
AutoTurnOver.Models/ApiDto/WeeklyStatistics/week_negative_profit_details_page_input_dto.cs
View file @
3bb329ca
...
...
@@ -11,5 +11,15 @@ namespace AutoTurnOver.Models.ApiDto.WeeklyStatistics
{
public
string
bailun_sku
{
get
;
set
;
}
public
string
warehousecode
{
get
;
set
;
}
/// <summary>
/// 缺货开始时间
/// </summary>
public
string
start_date
{
get
;
set
;
}
/// <summary>
/// 缺货结束时间
/// </summary>
public
string
end_date
{
get
;
set
;
}
}
}
AutoTurnOver.Models/ApiDto/WeeklyStatistics/week_redundancy_details_page_input_dto.cs
View file @
3bb329ca
...
...
@@ -11,5 +11,15 @@ namespace AutoTurnOver.Models.ApiDto.WeeklyStatistics
{
public
string
bailun_sku
{
get
;
set
;
}
public
string
warehousecode
{
get
;
set
;
}
/// <summary>
/// 缺货开始时间
/// </summary>
public
string
start_date
{
get
;
set
;
}
/// <summary>
/// 缺货结束时间
/// </summary>
public
string
end_date
{
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