liujiandao
2024-03-15 1ae2ab7b60ef374c77eebc08d63759a98f625066
service/test/industry.go
@@ -34,7 +34,7 @@
// UpdateIndustry 更新Industry记录
// Author [piexlmax](https://github.com/piexlmax)
func (iService *IndustryService) UpdateIndustry(i test.Industry) (err error) {
   err = global.GVA_DB.Save(&i).Error
   err = global.GVA_DB.Updates(&i).Error
   return err
}