first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,14 @@
using MediatR;
namespace F9WebAiTest.Application.Services;
/// <summary>
/// 业务状态变更事件(通用)。
/// 业务单据状态变化时发布,Api 层订阅后通过 SignalR 推送给所有在线客户端,
/// 各端监听后刷新已打开的相关页面,实现多端实时同步。
/// </summary>
public record BusinessChangedEvent(
string BusinessType, // 业务类型,如 "LeaveApproval"
string BusinessId, // 业务单据 ID
string Action // 动作,如 "StatusChanged" / "Created" / "Completed"
) : INotification;