Commit af3e9a79 authored by zhangqingle's avatar zhangqingle

Merge branch 'meiteng' of ssh://103.249.252.28:10022/lcy/education into meiteng

parents 5f1d5250 5a483c9f
...@@ -182,7 +182,6 @@ public class BChapterServiceImpl implements BChapterService { ...@@ -182,7 +182,6 @@ public class BChapterServiceImpl implements BChapterService {
model.setPid(chapterDTO.getPid()); model.setPid(chapterDTO.getPid());
model.setChapterLevel(chapterDTO.getChapterLevel()); model.setChapterLevel(chapterDTO.getChapterLevel());
// if ("2".equals(dto.getType())||"4".equals(dto.getType())){ // if ("2".equals(dto.getType())||"4".equals(dto.getType())){
// mtCotactApiRequestClient.fileChange(dto); // mtCotactApiRequestClient.fileChange(dto);
// } // }
...@@ -208,6 +207,8 @@ public class BChapterServiceImpl implements BChapterService { ...@@ -208,6 +207,8 @@ public class BChapterServiceImpl implements BChapterService {
if (model.getChapterLevel() == 1) { if (model.getChapterLevel() == 1) {
chapterDTO.setBusinessId(model.getBusinessId());
chapterDTO.setPid(model.getPid());
//添加章 //添加章
line = bChapterRepository.insertSelective(model); line = bChapterRepository.insertSelective(model);
} else { } else {
......
...@@ -24,7 +24,6 @@ public interface SysUserMapper extends BaseMapper<SysUser> { ...@@ -24,7 +24,6 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
"LEFT JOIN s_r_user_role AS ru ON su.business_id = ru.user_id " + "LEFT JOIN s_r_user_role AS ru ON su.business_id = ru.user_id " +
"LEFT JOIN tm_admin_role AS sr ON sr.r_id = ru.role_id " + "LEFT JOIN tm_admin_role AS sr ON sr.r_id = ru.role_id " +
"WHERE su.del_flag = 0 " + "WHERE su.del_flag = 0 " +
"and sr.r_status != 0 " +
"and su.corp_id = #{corpId} " + "and su.corp_id = #{corpId} " +
......
...@@ -89,7 +89,7 @@ public class SysUserServiceImpl implements SysUserService { ...@@ -89,7 +89,7 @@ public class SysUserServiceImpl implements SysUserService {
} }
} }
//部门不为空时 部门条件过滤 //部门不为空时 部门条件过滤
if (dto.getDept() != null || !"".equals(dto.getDept())) { if (dto.getDept() != null ) {
List<SysUser> usersForDept = new ArrayList<>(); List<SysUser> usersForDept = new ArrayList<>();
for (SysUser user : users) { for (SysUser user : users) {
if (user.getDepart().equals(dto.getDept())) { if (user.getDepart().equals(dto.getDept())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment