From 5c969468b211f1f91d61d272c922393ea77e2d04 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 3 Jul 2023 19:22:17 +0800 Subject: [PATCH] - --- Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs b/Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs index 8729faba2..542cd3e03 100644 --- a/Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs +++ b/Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs @@ -80,7 +80,8 @@ namespace SqlSugar || value.ToLower().Contains(" delete ") || value.ToLower().Contains(" drop ") || value.ToLower().Contains(" alert ") - || value.ToLower().Contains(" create ")) + || value.ToLower().Contains(" create ") + || value.ToLower().Contains(" insert ")) { Check.ExceptionEasy($"{value} format error ", value+ "不能存在 空格+【update drop 等】+空格 "); }