Updated 骚操作 (markdown)

2881099
2022-05-09 10:09:09 +08:00
parent c4a0b301a0
commit 1745dadc5d

@@ -429,7 +429,7 @@ fsql.Aop.CurdAfter += (s, e) => {
fsql.Aop.AuditValue += (s, e) => {
if (e.Column.CsType == typeof(long) &&
e.Property.GetCustomAttribute<SnowflakeAttribute>(false) != null &&
e.Value?.ToString() == 0)
e.Value?.ToString() == "0")
e.Value = new Snowflake().GetId();
};