ezhizao_zx 1 bulan lalu
induk
melakukan
a040492dd2

+ 2 - 0
src/main/java/cn/ezhizao/project/business/controller/Inc10100Controller.java

@@ -174,6 +174,7 @@ public class Inc10100Controller extends BaseController {
                         old.setTechnicianId(jsy != null ? jsy.getUserId() : null);
                     }
                     old.setRemark(l.getRemark());
+                    old.setBomsta(l.getBomsta().trim());
                     changeProducts.add(old);
                 }
             } else {
@@ -232,6 +233,7 @@ public class Inc10100Controller extends BaseController {
                     newProduct.setTechnicianId(jsy != null ? jsy.getUserId() : null);
                 }
                 newProduct.setRemark(l.getRemark());
+                newProduct.setBomsta(l.getBomsta().trim());
                 newProducts.add(newProduct);
             }
         });

+ 4 - 0
src/main/java/cn/ezhizao/project/business/domain/BizProduct.java

@@ -186,6 +186,9 @@ public class BizProduct extends BaseEntity
     @TableField(exist = false)
     @ApiModelProperty("产品单价")
     private BigDecimal unprc;
+    /** 有BOM否 */
+    @ApiModelProperty(value = "${comment}")
+    private String bomsta;
     /**
      * 备注
      */
@@ -202,5 +205,6 @@ public class BizProduct extends BaseEntity
         this.description = inc10100.getDescr().trim();
         this.stqty = inc10100.getStqty();
         this.unprc = inc10100.getUnprc();
+        this.bomsta = inc10100.getBomsta().trim();
     }
 }