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
d085a69e
Commit
d085a69e
authored
Dec 10, 2019
by
zhangqingle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改指派推荐回显问题
parent
bfe4233b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
BRecommendRepository.java
...rg/rcisoft/business/blesson/dao/BRecommendRepository.java
+2
-2
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+1
-1
SysUserMapper.java
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
+8
-0
No files found.
src/main/java/org/rcisoft/business/blesson/dao/BRecommendRepository.java
View file @
d085a69e
...
@@ -68,10 +68,10 @@ public interface BRecommendRepository extends BaseMapper<BRecommend> {
...
@@ -68,10 +68,10 @@ public interface BRecommendRepository extends BaseMapper<BRecommend> {
" where 1=1 "
+
" where 1=1 "
+
" and br.del_flag != 1 and br.flag = 1 "
+
" and br.del_flag != 1 and br.flag = 1 "
+
" and bl.del_flag != 1 and bl.flag = 1 "
+
" and bl.del_flag != 1 and bl.flag = 1 "
+
" and su.del_flag != 1 and su.flag = 1 "
+
//
" and su.del_flag != 1 and su.flag = 1 " +
// " and bl.corp_id = #{corpId} "+
// " and bl.corp_id = #{corpId} "+
" and su.corp_id = #{corpId} "
+
//
" and su.corp_id = #{corpId} "+
" <if test=\"viewParam!=null and viewParam != ''\">and su.name like CONCAT('%',#{viewParam},'%')</if>"
+
" <if test=\"viewParam!=null and viewParam != ''\">and su.name like CONCAT('%',#{viewParam},'%')</if>"
+
" and brs.type = '0' "
+
" and brs.type = '0' "
+
...
...
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
d085a69e
...
@@ -1381,7 +1381,7 @@ public class BLessonServiceImpl implements BLessonService {
...
@@ -1381,7 +1381,7 @@ public class BLessonServiceImpl implements BLessonService {
if
(
ids
==
null
||
ids
.
size
()
<
1
)
{
if
(
ids
==
null
||
ids
.
size
()
<
1
)
{
return
new
ArrayList
<>();
return
new
ArrayList
<>();
}
}
return
sysUserMapper
.
selectByIds
(
ids
);
return
sysUserMapper
.
select
AppointPerson
ByIds
(
ids
);
}
}
@Override
@Override
...
...
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
View file @
d085a69e
...
@@ -290,6 +290,14 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
...
@@ -290,6 +290,14 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
@ResultMap
(
value
=
"BaseResultMap"
)
@ResultMap
(
value
=
"BaseResultMap"
)
List
<
SysUser
>
selectByIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
SysUser
>
selectByIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
@Select
(
"<script>SELECT * FROM s_user "
+
"WHERE 1=1 "
+
" and business_id in "
+
"<foreach item='item' index='index' collection='ids' open='(' separator=',' close=')'> #{item} </foreach> "
+
"</script>"
)
@ResultMap
(
value
=
"BaseResultMap"
)
List
<
SysUser
>
selectAppointPersonByIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
/**
/**
* 根据accountId获取businessId
* 根据accountId获取businessId
...
...
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