Pārlūkot izejas kodu

fixed 商品编辑问题

fushengqian 1 gadu atpakaļ
vecāks
revīzija
34795a2727

+ 1 - 1
fuint-application/src/main/java/com/fuint/module/backendApi/controller/BackendGoodsController.java

@@ -541,7 +541,7 @@ public class BackendGoodsController extends BaseController {
         if (StringUtil.isNotEmpty(description)) {
         if (StringUtil.isNotEmpty(description)) {
             mtGoods.setDescription(description);
             mtGoods.setDescription(description);
         }
         }
-        if (storeId != null && storeId > 0) {
+        if (storeId != null) {
             mtGoods.setStoreId(storeId);
             mtGoods.setStoreId(storeId);
         }
         }
         if (images.size() > 0) {
         if (images.size() > 0) {