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
bb442069
Commit
bb442069
authored
Jun 15, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9fe7ca79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
RB_Member_User_Extend.cs
Mall.Model/Extend/User/RB_Member_User_Extend.cs
+4
-0
RB_Member_UserRepository.cs
Mall.Repository/User/RB_Member_UserRepository.cs
+3
-0
No files found.
Mall.Model/Extend/User/RB_Member_User_Extend.cs
View file @
bb442069
...
@@ -13,6 +13,10 @@ namespace Mall.Model.Extend.User
...
@@ -13,6 +13,10 @@ namespace Mall.Model.Extend.User
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Member_User_Extend
:
RB_Member_User
public
class
RB_Member_User_Extend
:
RB_Member_User
{
{
/// <summary>
/// 是否查询电商利润 1是
/// </summary>
public
int
?
IsSelectCommpany
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否用户头像为空 1是 2否
/// 是否用户头像为空 1是 2否
/// </summary>
/// </summary>
...
...
Mall.Repository/User/RB_Member_UserRepository.cs
View file @
bb442069
...
@@ -63,6 +63,9 @@ namespace Mall.Repository.User
...
@@ -63,6 +63,9 @@ namespace Mall.Repository.User
{
{
where
+=
$@" and
{
nameof
(
RB_Member_User
.
OpenId
)}
= '%
{
dmodel
.
OpenId
}
%'"
;
where
+=
$@" and
{
nameof
(
RB_Member_User
.
OpenId
)}
= '%
{
dmodel
.
OpenId
}
%'"
;
}
}
if
(
dmodel
.
IsSelectCommpany
==
1
)
{
where
+=
$@" and
{
nameof
(
RB_Member_User
.
Id
)}
between 5 and 100 "
;
}
string
orderBy
=
"CreateDate desc"
;
string
orderBy
=
"CreateDate desc"
;
if
(
dmodel
.
MinUserId
>
0
)
if
(
dmodel
.
MinUserId
>
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