zhangqian
2024-04-19 0ddbf564f6e2a33c4f73141423ad0905da4278d0
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
}