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 }