|
|
|
@ -132,6 +132,7 @@ public class GoodsController { |
|
|
|
|
@ApiOperation(value = "查询商品列表") |
|
|
|
|
public ResponseData getListGoodsDetail( |
|
|
|
|
@RequestParam(value = "goodsTypeId", required = false) String goodsTypeId, |
|
|
|
|
@RequestParam(value = "title", required = false) String title, |
|
|
|
|
@RequestParam(value = "companyId", required = false) Long companyId |
|
|
|
|
) { |
|
|
|
|
try { |
|
|
|
@ -139,6 +140,7 @@ public class GoodsController { |
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
map.put("companyId", companyId); |
|
|
|
|
map.put("status", 1); |
|
|
|
|
map.put("title", title); |
|
|
|
|
List<GoodsModel> goodsModels = new ArrayList<>(); |
|
|
|
|
List<GoodsDetail> list = new ArrayList<>(); |
|
|
|
|
|
|
|
|
@ -150,6 +152,7 @@ public class GoodsController { |
|
|
|
|
|
|
|
|
|
for (HighGoodsType highGoodsType : goodsTypes) { |
|
|
|
|
map.put("goodsType", highGoodsType.getId()); |
|
|
|
|
|
|
|
|
|
list.addAll(goodsDetailService.getGoodsDetailList(map)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|