service/test/supplier_type.go
@@ -34,7 +34,7 @@ // UpdateSupplierType 更新SupplierType记录 // Author [piexlmax](https://github.com/piexlmax) func (stService *SupplierTypeService) UpdateSupplierType(st test.SupplierType) (err error) { err = global.GVA_DB.Save(&st).Error err = global.GVA_DB.Updates(&st).Error return err }