Kaynağa Gözat

同步产品物料号

wangxin 6 ay önce
ebeveyn
işleme
dc5f01b924

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

@@ -132,6 +132,7 @@ public class Inc10100Controller extends BaseController {
                     old.setSpecification(l.getSpec());
                     old.setDrawingNumber(l.getDraw());
                     old.setCompanyAlias(l.getKhjc());
+                    old.setMaterialNum(l.getKhpart());
                     old.setCompanyCode(l.getCust());
                     old.setDescription(l.getDescr());
                     old.setProductionTenantId(l.getSfacno() != null ? Long.parseLong(l.getSfacno()) : null);
@@ -175,6 +176,7 @@ public class Inc10100Controller extends BaseController {
                 // 新产品
                 BizProduct newProduct = new BizProduct();
                 newProduct.setProductCode(l.getPart());
+                newProduct.setMaterialNum(l.getKhpart());
                 newProduct.setPreStock(l.getPrloc());
                 newProduct.setType(l.getType());
                 newProduct.setShaftBroadCategoryCode(l.getDtype());

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

@@ -128,6 +128,10 @@ public class BizProduct extends BaseEntity
     @ApiModelProperty(value = "保管员编码")
     private String stockKeeperCode;
 
+    @Excel(name = "物料号")
+    @ApiModelProperty(value = "物料号")
+    private String materialNum;
+
     /** 调度员id(对应员工id) */
     @ApiModelProperty(value = "保管员编码")
     private Long dispatcherId;