Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
7c631793
Commit
7c631793
authored
Aug 09, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试推送
parent
ee0d61b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
9 deletions
+116
-9
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+101
-8
RB_AccountRepository.cs
Edu.Repository/User/RB_AccountRepository.cs
+15
-1
No files found.
Edu.Module.Course/ClassModule.cs
View file @
7c631793
This diff is collapsed.
Click to expand it.
Edu.Repository/User/RB_AccountRepository.cs
View file @
7c631793
...
...
@@ -654,7 +654,21 @@ WHERE e.RB_Group_id ={GroupId} AND e.IsLeave =0 AND o.Score =0 GROUP BY e.Employ
var
result
=
ExecuteScalar
(
sql
,
null
);
return
!
result
.
Equals
(
null
)
&&
Convert
.
IsDBNull
(
result
)
?
string
.
Empty
:
result
.
ToString
();
return
result
!=
null
?
string
.
Empty
:
result
.
ToString
();
}
/// <summary>
/// 获取指定DictKey的推送人员信息
/// </summary>
/// <param name="departmentIds"></param>
/// <returns></returns>
public
string
GetWorkUserIdByDictRepository
(
string
dictKey
)
{
string
sql
=
$"select GROUP_CONCAT(WorkUserId SEPARATOR '|') from rb_account a where EXISTS(select DictKey from rb_dictvalue where DictKey='
{
dictKey
}
' and FIND_IN_SET(a.Id,Content)>0)"
;
var
result
=
ExecuteScalar
(
sql
,
null
);
return
result
!=
null
?
string
.
Empty
:
result
.
ToString
();
}
}
}
\ No newline at end of file
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