fix 并发执行问题,保密人员余额迁移

This commit is contained in:
2024-06-04 21:38:12 +08:00
parent 9af6472be6
commit 582393e45d
31 changed files with 400 additions and 274 deletions

View File

@@ -15,7 +15,7 @@ public class BalanceRecordEntity : SugarBaseEntity, ISoftDeleted, ITenantId
/// <summary>
/// 流水号
/// </summary>
[SugarColumn(ColumnDescription = "流水号")]
[SugarColumn(ColumnDescription = "流水号", UniqueGroupNameList = new[] { "Unique_BalanceRecord_No" })]
public string No { get; set; }
/// <summary>

View File

@@ -65,4 +65,10 @@ public enum BalanceRecordSourceEnumType
/// </summary>
[Description("其他基地餐补")]
OtherTenantSubsidies,
/// <summary>
/// 余额写入
/// </summary>
[Description("余额写入")]
BalanceMigration,
}

View File

@@ -27,5 +27,9 @@ public enum CanteenApplicaitonTypeEnumType
/// 餐补发放
/// </summary>
[Description("餐补发放")]
MealSupplement = 400
MealSupplement = 400,
[Description("余额转入")]
BalanceMigration
}