提交 a25c217c authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 2a130d05
......@@ -97,16 +97,16 @@ public class ThriceAuditServiceImpl extends BaseServiceImpl<ThriceAudit, Integer
@Override
public PageInfo<ThriceAuditListVo> queryByPaging(PageParam pageParam, QueryAuditForm form) {
List<String> roles = new ArrayList<>();
roles.add("总编室");
roles.add("编辑部主任");
roles.add("社领导");
roles.add("管理员");
// 根据角色名称查属该角色的用户id
List<String> userIds = mapper.selectByRole(roles);
if (userIds.contains(form.getUserId())){
form.setUserId(null);
}
// List<String> roles = new ArrayList<>();
// roles.add("总编室");
// roles.add("编辑部主任");
// roles.add("社领导");
// roles.add("管理员");
// // 根据角色名称查属该角色的用户id
// List<String> userIds = mapper.selectByRole(roles);
// if (userIds.contains(form.getUserId())){
// form.setUserId(null);
// }
//startPage(pageParam);
List<ThriceAuditListVo> items = mapper.findByPaging(form);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论