jiangshuai
2024-02-06 02a2176f7c5733a4e4c4429c2028bbb86a967ce7
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
}