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
040285a6
Commit
040285a6
authored
Jun 26, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9df04dde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
MemberUserModule.cs
Mall.Module.User/MemberUserModule.cs
+2
-0
RB_Member_UserRepository.cs
Mall.Repository/User/RB_Member_UserRepository.cs
+4
-0
No files found.
Mall.Module.User/MemberUserModule.cs
View file @
040285a6
...
...
@@ -103,6 +103,8 @@ namespace Mall.Module.User
}
}
if
(
CustomerModel
==
null
)
{
return
false
;
}
var
hlist
=
member_UserRepository
.
GetList
(
new
RB_Member_User_Extend
()
{
MallBaseId
=
userModel
.
MallBaseId
,
CustomerChildrenId
=
CustomerModel
.
CustomerChildrenId
});
if
(
hlist
.
Any
())
{
return
true
;
}
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Member_User_Extend
.
CustomerId
),
CustomerModel
.
CustomerId
},
...
...
Mall.Repository/User/RB_Member_UserRepository.cs
View file @
040285a6
...
...
@@ -146,6 +146,10 @@ select * from RB_Member_User where {where} order by {orderBy}
{
where
+=
$@" and
{
nameof
(
RB_Member_User
.
SuperiorId
)}
=
{
dmodel
.
SuperiorId
}
"
;
}
if
(
dmodel
.
CustomerChildrenId
>
0
)
{
where
+=
$@" and
{
nameof
(
RB_Member_User
.
CustomerChildrenId
)}
=
{
dmodel
.
CustomerChildrenId
}
"
;
}
if
(!
string
.
IsNullOrEmpty
(
dmodel
.
UserIds
))
{
where
+=
$@" and
{
nameof
(
RB_Member_User
.
Id
)}
in(
{
dmodel
.
UserIds
}
)"
;
...
...
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