1
dengjunjie
2025-01-09 be0856c1bf533ed6001ff786908ae98e4b853eb5
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs
@@ -30,6 +30,8 @@
                CodeRuleAttribute? codeRuleAttribute = propertyInfo.GetCustomAttribute<CodeRuleAttribute>();
                if (codeRuleAttribute != null)
                {
                    if (propertyInfo.GetValue(entityInfo.EntityValue) == null)
                    {
                    SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig
                    {
                        ConfigId = MainDb.CurrentDbConnId,
@@ -44,6 +46,7 @@
                        propertyInfo.SetValue(entityInfo.EntityValue, code, null);
                    }
                }
                }
                SequenceAttribute? sequenceAttirbute = propertyInfo.GetCustomAttribute<SequenceAttribute>();
                if (sequenceAttirbute != null)