支付方式接口修改
This commit is contained in:
@@ -58,7 +58,7 @@ public class ShopStorageGoodServiceImpl extends ServiceImpl<ShopStorageGoodMappe
|
||||
|
||||
shopStorageGood.setName(product.getName());
|
||||
shopStorageGood.setImgUrl(product.getCoverImg());
|
||||
ShopProdUnit unit = shopProdUnitService.getOne(new QueryWrapper().eq(ShopProdUnit::getShopId, shopId).eq(ShopProdUnit::getId, product.getId()));
|
||||
ShopProdUnit unit = shopProdUnitService.getOne(new QueryWrapper().eq(ShopProdUnit::getShopId, shopId).eq(ShopProdUnit::getId, product.getUnitId()));
|
||||
shopStorageGood.setUnit(unit == null ? "" : unit.getName());
|
||||
}
|
||||
shopStorageGood.setShopId(shopId);
|
||||
|
||||
Reference in New Issue
Block a user