|
|
@@ -388,7 +388,7 @@ public class Prod implements Serializable {
|
|
|
public Product convert() {
|
|
|
Product product = new Product();
|
|
|
// 如果传过来的信息有原厂型号数据,赋值,否则将规格赋值给原厂型号
|
|
|
- if (this.pr_orispeccode != null) {
|
|
|
+ if (this.pr_orispeccode != null && !"无".equals(this.pr_orispeccode)) {
|
|
|
product.setCmpCode(this.pr_orispeccode);
|
|
|
} else {
|
|
|
product.setCmpCode(this.pr_spec);
|