|
|
@@ -252,4 +252,19 @@ public class FsStoreProductScrmController extends BaseController
|
|
|
fsStoreHospital580ScrmService.SynDrugToHospital580(productIds);
|
|
|
return R.ok("同步成功");
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 同步商品到580商城
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:storeProduct:update')")
|
|
|
+ @Log(title = "批量下架商品", businessType = BusinessType.DELETE,isStoreLog = true,
|
|
|
+ logParamExpression ="#p0.length>1?new String[]{'商品','下架'}: new String[]{'商品','下架'}" )
|
|
|
+ @PostMapping("/updateFsStoreProductIsShowBatch/{productIds}")
|
|
|
+ public R updateFsStoreProductIsShowBatch(@PathVariable Long[] productIds)
|
|
|
+ {
|
|
|
+ if (productIds.length>0){
|
|
|
+ fsStoreProductService.updateFsStoreProductIsShowBatch(productIds);
|
|
|
+ }
|
|
|
+ return R.ok("操作完成");
|
|
|
+ }
|
|
|
}
|