代码管理/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)