|
@@ -78,9 +78,18 @@ public class ProductInfoServiceImpl implements IProductInfoService
|
|
|
ProductInfo productInfo1 = productInfoMapper.selectProductInfoById(productInfo.getId());
|
|
|
String resultJson = null;
|
|
|
Map<String, Object> resultMap = null;
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ if("10".equals(productInfo.getType())){
|
|
|
+ productInfoMapper.updateProductInfo(productInfo);
|
|
|
+ map.put("success", true);
|
|
|
+ map.put("resultCode", "00");
|
|
|
+ map.put("resultMsg", null);
|
|
|
+ map.put("result", null);
|
|
|
+ return map;
|
|
|
+ }
|
|
|
if ("20".equals(productInfo.getType())) {
|
|
|
//下架的情况
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
+
|
|
|
map.put("token", "123456");
|
|
|
map.put("supplierCode", productInfo1.getSupplierId());
|
|
|
Set<String> strings = new HashSet<>();
|