mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update .net core project
This commit is contained in:
@@ -244,7 +244,10 @@ namespace SqlSugar
|
|||||||
if (snowColumn!=null)
|
if (snowColumn!=null)
|
||||||
{
|
{
|
||||||
var id = this.ExecuteReturnSnowflakeId();
|
var id = this.ExecuteReturnSnowflakeId();
|
||||||
snowColumn.PropertyInfo.SetValue(result, id);
|
if (Convert.ToInt64(snowColumn.PropertyInfo.GetValue(result)) == 0)
|
||||||
|
{
|
||||||
|
snowColumn.PropertyInfo.SetValue(result, id);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user