mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-05 05:07:57 +08:00
-
This commit is contained in:
parent
2bcee6344b
commit
8e30a02d17
@ -1346,7 +1346,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (whereCol == null)
|
||||
{
|
||||
whereCol = filedEntity.Columns.FirstOrDefault(it => (it.EntityName).Equals(it.EntityName+"id", StringComparison.CurrentCultureIgnoreCase));
|
||||
whereCol = filedEntity.Columns.FirstOrDefault(it => (it.PropertyName).Equals(it.EntityName+"id", StringComparison.CurrentCultureIgnoreCase));
|
||||
}
|
||||
if (whereCol == null)
|
||||
{
|
||||
@ -1402,7 +1402,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (whereCol == null)
|
||||
{
|
||||
whereCol = tEntity.Columns.FirstOrDefault(it => (it.EntityName).Equals(it.EntityName + "id", StringComparison.CurrentCultureIgnoreCase));
|
||||
whereCol = tEntity.Columns.FirstOrDefault(it => (it.PropertyName).Equals(it.EntityName + "id", StringComparison.CurrentCultureIgnoreCase));
|
||||
}
|
||||
if (whereCol == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user