Commit e7d7563f authored by shiyu's avatar shiyu

订单列表3

parent f97a403e
...@@ -69,7 +69,8 @@ public class SysDistributionOrderServiceImpl implements SysDistributionOrderServ ...@@ -69,7 +69,8 @@ public class SysDistributionOrderServiceImpl implements SysDistributionOrderServ
//没有对应名称的商品则直接返回空数据 //没有对应名称的商品则直接返回空数据
return Result.success(); return Result.success();
} }
} else if (StringUtils.hasLength(dto.getSellerName())) { }
if (StringUtils.hasLength(dto.getSellerName())) {
//获取用户id //获取用户id
List<User> userList = userDao.findByNickName(dto.getSellerName()); List<User> userList = userDao.findByNickName(dto.getSellerName());
List<Long> userIds = userList.stream().map(User::getId).collect(Collectors.toList()); List<Long> userIds = userList.stream().map(User::getId).collect(Collectors.toList());
......
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