lishihai
2024-06-26 21c2295246ab1e91d830ec2ab2edb2daf0dc926e
BarCode重复
1个文件已修改
3 ■■■■ 已修改文件
models/material.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
models/material.go
@@ -51,7 +51,6 @@
        CategoryId          int                        `gorm:"type:int(11);comment:产品类别id" json:"categoryId"`                //产品类别id
        CategoryName        string                     `gorm:"type:varchar(255);comment:产品类别名称" json:"categoryName"`         //产品类别名称
        InternalReference   string                     `gorm:"type:varchar(255);comment:内部参考" json:"internalReference"`      //内部参考
        Barcode             string                     `gorm:"type:varchar(255);comment:条码" json:"barcode"`                  //条码
        ProductTagId        int                        `gorm:"type:int(11);comment:产品标签id" json:"productTagId"`              //产品标签id
        ProductTagName      string                     `gorm:"type:varchar(255);comment:产品标签名称" json:"productTagName"`       //产品标签名称
        CompanyId           int                        `gorm:"type:int(11);comment:公司id" json:"companyId"`                   //公司id
@@ -97,7 +96,7 @@
        MaxInventoryRule decimal.Decimal `json:"maxInventoryRule" gorm:"-"` //最大库存
        CreateBy string `gorm:"type:varchar(255);comment:导入人、创建人" json:"createBy"`       //创建人
        BarCode  string `gorm:"type:varchar(255);comment:(商品/产品/物料的)条形码" json:"barCode"` //创建人
        BarCode  string `gorm:"type:varchar(255);comment:(商品/产品/物料的)条形码" json:"barCode"` //条码
    }
    MaterialSearch struct {