Prechádzať zdrojové kódy

数据过滤类修改

hulh 8 rokov pred
rodič
commit
89cd803396

+ 78 - 0
src/main/java/com/uas/platform/b2c/prod/commodity/model/GoodsFilter.java

@@ -60,5 +60,83 @@ public class GoodsFilter {
      */
     private Boolean haveImg;
 
+    public String getCode() {
+        return code;
+    }
 
+    public void setCode(String code) {
+        this.code = code;
+    }
+
+    public String getBrand() {
+        return brand;
+    }
+
+    public void setBrand(String brand) {
+        this.brand = brand;
+    }
+
+    public String getStore() {
+        return store;
+    }
+
+    public void setStore(String store) {
+        this.store = store;
+    }
+
+    public String getKindUuid() {
+        return kindUuid;
+    }
+
+    public void setKindUuid(String kindUuid) {
+        this.kindUuid = kindUuid;
+    }
+
+    public String getCurrency() {
+        return currency;
+    }
+
+    public void setCurrency(String currency) {
+        this.currency = currency;
+    }
+
+    public Boolean getSaleSelf() {
+        return saleSelf;
+    }
+
+    public void setSaleSelf(Boolean saleSelf) {
+        this.saleSelf = saleSelf;
+    }
+
+    public Boolean getBreakUp() {
+        return breakUp;
+    }
+
+    public void setBreakUp(Boolean breakUp) {
+        this.breakUp = breakUp;
+    }
+
+    public Boolean getStandard() {
+        return standard;
+    }
+
+    public void setStandard(Boolean standard) {
+        this.standard = standard;
+    }
+
+    public Boolean getAudited() {
+        return audited;
+    }
+
+    public void setAudited(Boolean audited) {
+        this.audited = audited;
+    }
+
+    public Boolean getHaveImg() {
+        return haveImg;
+    }
+
+    public void setHaveImg(Boolean haveImg) {
+        this.haveImg = haveImg;
+    }
 }

+ 3 - 0
src/main/java/com/uas/platform/b2c/prod/commodity/service/impl/GoodsModifyInfoServiceImpl.java

@@ -38,6 +38,9 @@ public class GoodsModifyInfoServiceImpl implements GoodsModifyInfoService {
 
     @Override
     public void auditedGoods(String batchCode, Boolean pass, String message) {
+        if (pass == null) {
+            throw new IllegalOperatorException("审核是否通过状态丢失");
+        }
         if (!pass && StringUtils.isEmpty(message)) {
             throw new IllegalOperatorException("不通过原因不能为空");
         }

+ 0 - 2
src/main/webapp/resources/js/admin/controllers/product/productManageCtrl.js

@@ -175,8 +175,6 @@ define(['app/app'], function(app) {
                         }
                     })
                 }
-            }, function() {
-
             })
         };