|
|
@@ -2,7 +2,6 @@ package com.uas.platform.b2b.erp.model;
|
|
|
|
|
|
import com.uas.platform.b2b.model.Product;
|
|
|
import com.uas.platform.b2b.support.SystemSession;
|
|
|
-import com.uas.platform.core.model.Status;
|
|
|
|
|
|
/**
|
|
|
* ERP系统的产品
|
|
|
@@ -141,13 +140,13 @@ public class Prod {
|
|
|
product.setLtinstock(this.pr_ltinstock);
|
|
|
product.setSourceId(this.pr_id);
|
|
|
product.setBrand(this.pr_brand);
|
|
|
- if (this.pr_status != null) {
|
|
|
- if (this.pr_status.equals(Status.AUDITED.getPhrase())) {
|
|
|
- product.setIsSale((short) 1);
|
|
|
- } else if (this.pr_status.equals(Status.DISABLED.getPhrase())) {
|
|
|
- product.setIsSale((short) 0);
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (this.pr_status != null) {
|
|
|
+ // if (this.pr_status.equals(Status.AUDITED.getPhrase())) {
|
|
|
+ // product.setIsSale((short) 1);
|
|
|
+ // } else if (this.pr_status.equals(Status.DISABLED.getPhrase())) {
|
|
|
+ // product.setIsSale((short) 0);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
product.setCmpCode(this.pr_orispeccode);
|
|
|
product.setCmpUuId(this.pr_uuid);
|
|
|
return product;
|