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
624a701f
Commit
624a701f
authored
Nov 04, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购建议查询,时间过滤,精准到 时:分
parent
6dc596fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
purchase_advise.cs
AutoTurnOver.DB/purchase_advise.cs
+2
-2
No files found.
AutoTurnOver.DB/purchase_advise.cs
View file @
624a701f
...
@@ -744,13 +744,13 @@ where 1=1 ";
...
@@ -744,13 +744,13 @@ where 1=1 ";
if
(
m
.
start_date
!=
null
)
if
(
m
.
start_date
!=
null
)
{
{
sql
+=
" and t4.create_time >= @start_date "
;
sql
+=
" and t4.create_time >= @start_date "
;
parameters
.
Add
(
"start_date"
,
m
.
start_date
.
Value
.
ToString
(
"yyyy-MM-dd
00:00
:00"
));
parameters
.
Add
(
"start_date"
,
m
.
start_date
.
Value
.
ToString
(
"yyyy-MM-dd
HH:mm
:00"
));
}
}
if
(
m
.
end_date
!=
null
)
if
(
m
.
end_date
!=
null
)
{
{
sql
+=
" and t4.create_time<= @end_date "
;
sql
+=
" and t4.create_time<= @end_date "
;
parameters
.
Add
(
"end_date"
,
m
.
end_date
.
Value
.
ToString
(
"yyyy-MM-dd
23:59
:59"
));
parameters
.
Add
(
"end_date"
,
m
.
end_date
.
Value
.
ToString
(
"yyyy-MM-dd
HH:mm
:59"
));
}
}
if
(
m
.
main_id
>
0
)
if
(
m
.
main_id
>
0
)
{
{
...
...
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