@@ -237,7 +237,7 @@ func SetPermissionByEdbIdList(edbIdList []string, userIdList []int, edbInfoType
// return
//}
- sql = "DELETE FROM edb_info_permission WHERE edb_info_permission_id in (" + utils.GetOrmInReplace(deletePermissionIdNum) + ")"
+ sql = `DELETE FROM edb_info_permission WHERE edb_info_permission_id in (?)`
err = to.Exec(sql, deletePermissionIdList).Error
if err != nil {
return