Commit b363d40b by jianglong

修改URO逻辑:若URO表配置为空则默认可以参看所以下辖机构信息,若URO有值则只可以查看URO配置

parent b3485dfd
......@@ -696,6 +696,10 @@ public class BchServiceImpl implements BchService {
List<String> uroList = bchMapper.selectByUroUserId(userId);
List<String> bchList = this.listAllChildAndItselfBchInr(branch);
List<String> userList = uroList.stream().filter(bchList::contains).collect(Collectors.toList());
//修改为uro未配置,默认可以查看全部
if (uroList ==null || uroList.size()<=0){
return bchList;
}
return userList;
}
......
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