Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
5e54cb9f
Commit
5e54cb9f
authored
Aug 10, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
d80af1f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RB_Distributor_InfoRepository.cs
Mall.Repository/User/RB_Distributor_InfoRepository.cs
+1
-1
No files found.
Mall.Repository/User/RB_Distributor_InfoRepository.cs
View file @
5e54cb9f
...
@@ -289,7 +289,7 @@ where {where} order by di.CreateDate desc";
...
@@ -289,7 +289,7 @@ where {where} order by di.CreateDate desc";
}
}
if
(
dmodel
.
IsSelectOverTime
>
0
)
if
(
dmodel
.
IsSelectOverTime
>
0
)
{
{
where
+=
$@" and DATE_FORMAT( di.
{
nameof
(
RB_Distributor_Info
.
VipExpiryDate
)}
,'%y-%m-%d')<=DATE_FORMAT( '
{
DateTime
.
Now
.
AddDays
(
-
1
)}
','%y-%m-%d')"
;
where
+=
$@" and DATE_FORMAT( di.
{
nameof
(
RB_Distributor_Info
.
VipExpiryDate
)}
,'%y-%m-%d')<=DATE_FORMAT( '
{
DateTime
.
Now
.
AddDays
(
1
)}
','%y-%m-%d')"
;
}
}
string
sql
=
$@"select di.* from RB_Distributor_Info di where
{
where
}
order by di.CreateDate desc"
;
string
sql
=
$@"select di.* from RB_Distributor_Info di where
{
where
}
order by di.CreateDate desc"
;
return
Get
<
RB_Distributor_Info_Extend
>(
sql
).
ToList
();
return
Get
<
RB_Distributor_Info_Extend
>(
sql
).
ToList
();
...
...
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