商品Id 问题
This commit is contained in:
@@ -52,7 +52,11 @@ public class GbWareServiceImpl extends ServiceImpl<GbWareMapper, GbWare> impleme
|
||||
q2.eq(GbWare::getUseShopType, "custom").and("FIND_IN_SET( " + shopId + ", use_shops ) > 0");
|
||||
});
|
||||
});
|
||||
return page(Page.of(param.getPage(), param.getSize()), queryWrapper);
|
||||
Page<GbWare> page = page(Page.of(param.getPage(), param.getSize()), queryWrapper);
|
||||
page.getRecords().forEach(item -> {
|
||||
item.setShopId(shopId);
|
||||
});
|
||||
return page;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user