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
182b630b
Commit
182b630b
authored
Jan 30, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周转表支持产品类型筛选
parent
92b7640e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
dc_auto_turnover.cs
AutoTurnOver.DB/dc_auto_turnover.cs
+5
-0
dc_auto_turnover.cs
AutoTurnOver.Models/dc_auto_turnover.cs
+3
-0
No files found.
AutoTurnOver.DB/dc_auto_turnover.cs
View file @
182b630b
...
@@ -179,6 +179,11 @@ from dc_auto_turnover as dat
...
@@ -179,6 +179,11 @@ from dc_auto_turnover as dat
sql
+=
" and dat.buyer_name = "
+
$"'
{
m
.
buyer_name
}
'"
;
sql
+=
" and dat.buyer_name = "
+
$"'
{
m
.
buyer_name
}
'"
;
sqlCount
+=
" and dat.buyer_name = "
+
$"'
{
m
.
buyer_name
}
'"
;
sqlCount
+=
" and dat.buyer_name = "
+
$"'
{
m
.
buyer_name
}
'"
;
}
}
if
(!
string
.
IsNullOrWhiteSpace
(
m
.
product_type
))
{
sql
+=
" and t4.product_type = "
+
$"'
{
m
.
product_type
}
'"
;
sqlCount
+=
" and t4.product_type = "
+
$"'
{
m
.
product_type
}
'"
;
}
if
(
m
.
monitor_status
==
1
)
if
(
m
.
monitor_status
==
1
)
{
{
sql
+=
" and t5.`status`=1 "
;
sql
+=
" and t5.`status`=1 "
;
...
...
AutoTurnOver.Models/dc_auto_turnover.cs
View file @
182b630b
...
@@ -402,6 +402,9 @@ namespace AutoTurnOver.Models
...
@@ -402,6 +402,9 @@ namespace AutoTurnOver.Models
[
Description
(
"日均(最大)"
)]
[
Description
(
"日均(最大)"
)]
public
int
?
avg_sales_max
{
get
;
set
;
}
public
int
?
avg_sales_max
{
get
;
set
;
}
[
Description
(
"产品类型"
)]
public
string
product_type
{
get
;
set
;
}
}
}
public
class
dc_auto_turnover_Extend
:
dc_auto_turnover
public
class
dc_auto_turnover_Extend
:
dc_auto_turnover
...
...
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