mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-22 03:19:54 +08:00
-
This commit is contained in:
@@ -1346,7 +1346,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
if (whereCol == null)
|
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)
|
if (whereCol == null)
|
||||||
{
|
{
|
||||||
@@ -1402,7 +1402,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
if (whereCol == null)
|
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)
|
if (whereCol == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user