|  | @@ -66,7 +66,7 @@ public TableDataInfo list(FsStoreProductListSParam fsStoreProduct)
 | 
											
												
													
														|  |      @GetMapping("/export")
 |  |      @GetMapping("/export")
 | 
											
												
													
														|  |      public AjaxResult export(FsStoreProductScrm fsStoreProduct)
 |  |      public AjaxResult export(FsStoreProductScrm fsStoreProduct)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | -        fsStoreProduct.setStoreId(UserUtil.getLoginUserStoreID());
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fsStoreProduct.setStoreId(String.valueOf(UserUtil.getLoginUserStoreID()));
 | 
											
												
													
														|  |          List<FsStoreProductScrm> list = fsStoreProductService.selectFsStoreProductList(fsStoreProduct);
 |  |          List<FsStoreProductScrm> list = fsStoreProductService.selectFsStoreProductList(fsStoreProduct);
 | 
											
												
													
														|  |          ExcelUtil<FsStoreProductScrm> util = new ExcelUtil<FsStoreProductScrm>(FsStoreProductScrm.class);
 |  |          ExcelUtil<FsStoreProductScrm> util = new ExcelUtil<FsStoreProductScrm>(FsStoreProductScrm.class);
 | 
											
												
													
														|  |          return util.exportExcel(list, "商品数据");
 |  |          return util.exportExcel(list, "商品数据");
 | 
											
										
											
												
													
														|  | @@ -95,7 +95,7 @@ public TableDataInfo list(FsStoreProductListSParam fsStoreProduct)
 | 
											
												
													
														|  |      @PostMapping("/price/{price}")
 |  |      @PostMapping("/price/{price}")
 | 
											
												
													
														|  |      public AjaxResult editPrice(@RequestBody FsStoreProductScrm fsStoreProduct, @PathVariable("price")Integer price)
 |  |      public AjaxResult editPrice(@RequestBody FsStoreProductScrm fsStoreProduct, @PathVariable("price")Integer price)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | -        fsStoreProduct.setStoreId(UserUtil.getLoginUserStoreID());
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fsStoreProduct.setStoreId(String.valueOf(UserUtil.getLoginUserStoreID()));
 | 
											
												
													
														|  |          return toAjax(fsStoreProductService.updateFsStoreProductPrice(fsStoreProduct,price));
 |  |          return toAjax(fsStoreProductService.updateFsStoreProductPrice(fsStoreProduct,price));
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
										
											
												
													
														|  | @@ -106,7 +106,7 @@ public TableDataInfo list(FsStoreProductListSParam fsStoreProduct)
 | 
											
												
													
														|  |      @PostMapping
 |  |      @PostMapping
 | 
											
												
													
														|  |      public AjaxResult add(@RequestBody FsStoreProductScrm fsStoreProduct)
 |  |      public AjaxResult add(@RequestBody FsStoreProductScrm fsStoreProduct)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | -        fsStoreProduct.setStoreId(UserUtil.getLoginUserStoreID());
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fsStoreProduct.setStoreId(String.valueOf(UserUtil.getLoginUserStoreID()));
 | 
											
												
													
														|  |          return toAjax(fsStoreProductService.insertFsStoreProduct(fsStoreProduct));
 |  |          return toAjax(fsStoreProductService.insertFsStoreProduct(fsStoreProduct));
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -149,7 +149,7 @@ public TableDataInfo list(FsStoreProductListSParam fsStoreProduct)
 | 
											
												
													
														|  |      @PostMapping(value = "/genFormatAttr/{productId}")
 |  |      @PostMapping(value = "/genFormatAttr/{productId}")
 | 
											
												
													
														|  |      public ResponseEntity genFormatAttr(@PathVariable Long productId, @RequestBody String jsonStr){
 |  |      public ResponseEntity genFormatAttr(@PathVariable Long productId, @RequestBody String jsonStr){
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -        return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,jsonStr), HttpStatus.OK);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,jsonStr,null), HttpStatus.OK);
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
												
													
														|  |       * 获取商品详细信息
 |  |       * 获取商品详细信息
 | 
											
										
											
												
													
														|  | @@ -180,7 +180,7 @@ public TableDataInfo list(FsStoreProductListSParam fsStoreProduct)
 | 
											
												
													
														|  |      @PostMapping(value = "/addOrEdit")
 |  |      @PostMapping(value = "/addOrEdit")
 | 
											
												
													
														|  |      public R addOrEdit(@RequestBody FsStoreProductAddEditParam fsStoreProduct)
 |  |      public R addOrEdit(@RequestBody FsStoreProductAddEditParam fsStoreProduct)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | -        fsStoreProduct.setStoreId(UserUtil.getLoginUserStoreID());
 |  | 
 | 
											
												
													
														|  | 
 |  | +        fsStoreProduct.setStoreId(String.valueOf(UserUtil.getLoginUserStoreID()));
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          return fsStoreProductService.addOrEdit(fsStoreProduct);
 |  |          return fsStoreProductService.addOrEdit(fsStoreProduct);
 | 
											
												
													
														|  |      }
 |  |      }
 |