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
8d1e7915
Commit
8d1e7915
authored
Sep 06, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9611d7f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
RB_FirstShop_List.cs
Mall.Model/Entity/TradePavilion/RB_FirstShop_List.cs
+5
-0
RB_FirstShop_ListEnrollRepository.cs
...sitory/TradePavilion/RB_FirstShop_ListEnrollRepository.cs
+1
-1
RB_FirstShop_ListRepository.cs
Mall.Repository/TradePavilion/RB_FirstShop_ListRepository.cs
+1
-1
No files found.
Mall.Model/Entity/TradePavilion/RB_FirstShop_List.cs
View file @
8d1e7915
...
...
@@ -114,5 +114,10 @@ namespace Mall.Model.Entity.TradePavilion
/// </summary>
public
DateTime
UpdateDate
{
get
;
set
;
}
/// <summary>
/// 同批排序 升序
/// </summary>
public
int
Sort
{
get
;
set
;
}
}
}
Mall.Repository/TradePavilion/RB_FirstShop_ListEnrollRepository.cs
View file @
8d1e7915
...
...
@@ -44,7 +44,7 @@ namespace Mall.Repository.TradePavilion
}
if
(
dmodel
.
ObjectType
>
0
)
{
where
+=
$@" and w.
{
nameof
(
RB_FirstShop_ListEnroll_Extend
.
ObjectType
)}
=
{
dmodel
.
ObjectType
}
"
;
where
+=
$@" and w.
{
nameof
(
RB_FirstShop_ListEnroll_Extend
.
ObjectType
)}
=
{
(
int
)
dmodel
.
ObjectType
}
"
;
}
if
(
dmodel
.
CandidateState
>
0
)
{
...
...
Mall.Repository/TradePavilion/RB_FirstShop_ListRepository.cs
View file @
8d1e7915
...
...
@@ -85,7 +85,7 @@ namespace Mall.Repository.TradePavilion
string
orderBy
=
" order by w.Id desc"
;
if
(
dmodel
.
OrderBy
==
1
)
{
orderBy
=
" order by w.EndDate desc"
;
//根据报名截止日期
orderBy
=
" order by w.EndDate desc
,w.Sort asc
"
;
//根据报名截止日期
}
string
sql
=
$@"select w.* from RB_FirstShop_List w
...
...
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