fix
wangpengfei
2023-09-05 20acdf9648c20c4b1e0b03af98bd0010bab66f7b
service/test/supplier_type.go
@@ -1,10 +1,10 @@
package test
import (
   "github.com/flipped-aurora/gin-vue-admin/server/global"
   "github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
   "github.com/flipped-aurora/gin-vue-admin/server/model/test"
   testReq "github.com/flipped-aurora/gin-vue-admin/server/model/test/request"
   "srm/global"
   "srm/model/common/request"
   "srm/model/test"
   testReq "srm/model/test/request"
)
type SupplierTypeService struct {
@@ -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
}