|
@@ -81,7 +81,7 @@ public class SysAccountMultilevelServiceImpl extends ServiceImpl<SysAccountMulti
|
|
|
|
|
|
@Override
|
|
|
public List<Integer> getAllChildId(Integer userId) {
|
|
|
- List<SysAccountMultilevel> pids = this.list(new QueryWrapper<SysAccountMultilevel>().like("pids", userId + ""));
|
|
|
+ List<SysAccountMultilevel> pids = this.list(new QueryWrapper<SysAccountMultilevel>().eq("pid", userId ));
|
|
|
List<Integer> list = new ArrayList<>();
|
|
|
for (SysAccountMultilevel pid : pids) {
|
|
|
list.add(pid.getId());
|