#
luxiaotao1123
2021-12-07 a955772ea0908d6747035661e9bcffb7fb4ba961
src/main/java/zy/cloud/wms/manager/entity/Mat.java
@@ -173,6 +173,50 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    public MatCode beMatCode() {
        Date date = new Date();
        return new MatCode(
                this.matnr,
            null,    // 条码
            this.maktx,    // 商品名称
            this.unit,    // 物料单位
            this.specs,    // 规格
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    //
            null,    // 创建者
            null,    // 添加时间
            null,    // 修改人员
            date,    // 修改时间
            null    //
        );
    }
    public Mat() {}
    public Mat(String uuid,Long nodeId,Long tagId,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,Long docId,String docNum,String custName,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
@@ -219,7 +263,7 @@
//            null,    // 品项数
//            null,    // 库存余量
//            null,    // 重量
//            null,    //
//            null,    //
//            null,    // 添加人员
//            null,    // 添加时间
//            null,    // 修改人员
@@ -268,7 +312,7 @@
        TagService service = SpringUtils.getBean(TagService.class);
        Tag tag = service.selectById(this.tagId);
        if (!Cools.isEmpty(tag)){
            return String.valueOf(tag.getId());
            return String.valueOf(tag.getName());
        }
        return null;
    }