mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 02:35:04 +08:00
-
This commit is contained in:
@@ -185,7 +185,7 @@ namespace SqlSugar
|
||||
{
|
||||
foreach (var item in columns)
|
||||
{
|
||||
if (item.DbColumnName.Equals("GUID",StringComparison.CurrentCultureIgnoreCase))
|
||||
if (item.DbColumnName.Equals("GUID",StringComparison.CurrentCultureIgnoreCase)&&item.Length==0)
|
||||
{
|
||||
item.Length = 10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user