推送项目重构代码

This commit is contained in:
2026-05-31 14:19:15 +08:00
parent a28ea44cab
commit dcc66aa4a9
30 changed files with 1112 additions and 1021 deletions

View File

@@ -0,0 +1,23 @@
package com.ruoyi.hrm.event;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 申请提交后产生的事件:通知监听方(如 IM 推送)给当前待办的审批人发提醒。
* 由 fad-hrm 发布ruoyi-oa 监听后调 ImSendService 推送。
*/
@Getter
@AllArgsConstructor
public class ApprovalRequestedEvent {
/** 业务类型seal / leave / travel / reimburse / appropriation */
private final String bizType;
/** 业务主键 */
private final Long bizId;
/** 流程实例ID */
private final Long instId;
/** 待审批人 OA userId */
private final Long assigneeUserId;
/** 申请发起人 OA userId */
private final Long startUserId;
}