修复:生成表后无法回滚的bug
修复:api页面不能多删除的bug
This commit is contained in:
蒋吉兆
2021-11-04 22:20:02 +08:00
parent da3fddf6c4
commit c877102f26
3 changed files with 3 additions and 3 deletions

View File

@@ -125,5 +125,5 @@ func (autoCodeHistoryService *AutoCodeHistoryService) GetSysHistoryPage(info req
// DeletePage 删除历史数据
func (autoCodeHistoryService *AutoCodeHistoryService) DeletePage(id uint) error {
return global.GVA_DB.Delete(system.SysAutoCodeHistory{}, id).Error
return global.GVA_DB.Delete(&system.SysAutoCodeHistory{}, id).Error
}