TASK:mixi;

This commit is contained in:
shahaibo
2024-05-08 13:16:54 +08:00
parent b8700b3d5a
commit e28c61f8cb

View File

@@ -285,6 +285,9 @@ public class TAppProductService extends ServiceImpl<TProductMapper, TProduct> {
}
Map<Long, Integer> productIdNumMap = getProductIdListByQueryType(query.getType(), byId);
List<Long> collect = productIdNumMap.keySet().stream().collect(Collectors.toList());
if (CollectionUtils.isEmpty(collect)) {
return Lists.newArrayList();
}
QueryWrapper<TProduct> qw = new QueryWrapper<>();
qw.lambda().in(TProduct::getId, collect);
List<TProduct> tProducts = tProductMapper.selectList(qw);