fix:#786
修复:生成表后无法回滚的bug 修复:api页面不能多删除的bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user