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