feat: 批量操作交互逻辑统一&解耦规则与应用的状态

This commit is contained in:
尹峰
2026-07-27 16:54:06 +08:00
parent 3651d3d2df
commit ca77a71f2c
16 changed files with 487 additions and 172 deletions
@@ -23,6 +23,8 @@ namespace YLErp.DBModels
public string Description { get; set; }
/// <summary>取值表达式(C# 表达式,用于计算变量值)</summary>
public string VariableExpr { get; set; }
/// <summary>状态: 1=Active, 2=Disabled, 3=Deleted</summary>
public RiskRuleStatus Status { get; set; } = RiskRuleStatus.Active;
/// <summary>版本号(乐观锁)</summary>
[ConcurrencyCheck]
public int Version { get; set; } = 1;