mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -185,7 +185,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
foreach (var item in columns)
|
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;
|
item.Length = 10;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user