|
|
@ -956,6 +956,17 @@ public class BmsSupplierController { |
|
|
|
.map(a->Arrays.asList(a.getMinorHeadCodes().split(","))) |
|
|
|
.flatMap(List::stream).collect(Collectors.toList()) |
|
|
|
); |
|
|
|
userCodes.addAll( |
|
|
|
updateList.stream().filter(a->StringUtils.hasText(a.getMainHeadCode())) |
|
|
|
.map(a->Arrays.asList(a.getMainHeadCode().split(","))) |
|
|
|
.flatMap(List::stream).collect(Collectors.toList()) |
|
|
|
); |
|
|
|
userCodes.addAll( |
|
|
|
updateList.stream().filter(a->StringUtils.hasText(a.getMinorHeadCodes())) |
|
|
|
.map(a->Arrays.asList(a.getMinorHeadCodes().split(","))) |
|
|
|
.flatMap(List::stream).collect(Collectors.toList()) |
|
|
|
); |
|
|
|
userCodes = userCodes.stream().distinct().collect(Collectors.toList()); |
|
|
|
List<SysUser> userList = new ArrayList<>(); |
|
|
|
if(userCodes.size()>0){ |
|
|
|
LambdaQueryWrapper<SysUser> sysUserLambdaQueryWrapper = new LambdaQueryWrapper<>(); |
|
|
|