fix:审批模块修改

This commit is contained in:
lulz1 2024-06-28 13:00:17 +08:00
parent 404d934390
commit 50a0813ce1
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,21 @@
package com.chint.domain.aggregates.approval;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;
import java.io.Serial;
import java.io.Serializable;
@Data
@Table("approval_record")
public class ApprovalRecord implements Serializable {
@Serial
private static final long serialVersionUID = 987769272351235112L;
@Id
private Long id;
private Long routeId;
private Long userId;
private String status;
}

View File

@ -20,7 +20,7 @@ public class LegApprovalEvent extends BaseEvent implements Serializable {
@Serial @Serial
private static final long serialVersionUID = 1113987613221578925L; private static final long serialVersionUID = 1113987613221578925L;
@Id @Id
private Long legEventId; private Long id;
@Column("leg_id") @Column("leg_id")
private Long legId; private Long legId;