From 2ba556d21ec1c8e0213708c7bbc3f02548ada6c1 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 15 六月 2023 12:14:48 +0800 Subject: [PATCH] 添加 溯源ID 属性 --- src/main/java/com/yssh/entity/VocVals.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yssh/entity/VocVals.java b/src/main/java/com/yssh/entity/VocVals.java index 5f7cce3..afbfa61 100644 --- a/src/main/java/com/yssh/entity/VocVals.java +++ b/src/main/java/com/yssh/entity/VocVals.java @@ -15,6 +15,9 @@ @ApiModelProperty(value = "涓婚敭") private BigInteger id; + @ApiModelProperty(value = "婧簮ID") + private String suYuanId; + @CsvProperty(index = 0) @ApiModelProperty(value = "X") private Integer x; @@ -45,6 +48,10 @@ this.id = id; } + public String getSuYuanId() { + return x + "_" + y + "_0"; + } + public Integer getX() { return x; } -- Gitblit v1.9.3