1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

Gets the userID of the current login, and the transaction now committed is visible only to the approved object it is committed to. Fixed a bug where the transaction id was too long for approval.

This commit is contained in:
assina045
2023-05-15 10:33:42 +08:00
parent f4a5391fad
commit d2a7c7faa8
5 changed files with 52 additions and 8 deletions

View File

@@ -11,6 +11,8 @@ import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.experimental.Accessors;
@@ -30,6 +32,8 @@ public class Affair implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@JsonSerialize(using = ToStringSerializer.class)
@TableId("id")
private Long id;