no message
This commit is contained in:
parent
47f5c7b039
commit
7f959107da
|
|
@ -379,6 +379,8 @@ public class GoodsController extends BaseController {
|
|||
try {
|
||||
Goods result = goodsService.selectById(goods.getGoodsId());
|
||||
|
||||
Shop shop=shopService.getShop(result.getShopId());
|
||||
result.setShop(shop);
|
||||
// 补全商品类目及父级类目信息
|
||||
GoodsCategory goodsCategory = goodsCategoryService.selectById(result.getDeptGoodsCategoryId());
|
||||
result.setDeptGoodsCategoryName(goodsCategory.getGoodsCategoryName());
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
<groupId>com.ghy</groupId>
|
||||
<artifactId>ghy-custom</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.ghy</groupId>
|
||||
<artifactId>ghy-shop</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package com.ghy.goods.domain;
|
|||
|
||||
import com.ghy.common.annotation.Excel;
|
||||
import com.ghy.common.core.domain.BaseEntity;
|
||||
import com.ghy.shop.domain.Shop;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
|
@ -113,5 +114,6 @@ public class Goods extends BaseEntity {
|
|||
@Excel(name = "到店服务")
|
||||
private Integer storeService;
|
||||
|
||||
|
||||
|
||||
private Shop shop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue