From 1313906bb1eb983d3beece810035e7fc28d6a92f Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期二, 20 五月 2025 16:57:11 +0800 Subject: [PATCH] 新增充电桩 --- zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Code.java | 34 +++++++++------------------------- 1 files changed, 9 insertions(+), 25 deletions(-) diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Code.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Code.java index ed979ee..fbf7529 100644 --- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Code.java +++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Code.java @@ -50,7 +50,7 @@ * 杞 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "杞 1: 鏄� 0: 鍚� ") - private Integer concer; + private Integer corner; /** * 缂╂斁 @@ -108,12 +108,12 @@ public Code() {} - public Code(String uuid,String data,Double x,Double y,Integer concer,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { + public Code(String uuid,String data,Double x,Double y,Integer corner,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { this.uuid = uuid; this.data = data; this.x = x; this.y = y; - this.concer = concer; + this.corner = corner; this.status = status; this.deleted = deleted; this.tenantId = tenantId; @@ -140,31 +140,17 @@ // null // 澶囨敞 // ); - public String getConcer$(){ - if (null == this.concer){ return null; } - switch (this.concer){ + public Boolean getCornerBool(){ + if (null == this.corner){ return null; } + switch (this.corner){ case 1: - return "鏄�"; + return true; case 0: - return "鍚�"; + return false; default: - return String.valueOf(this.concer); + return null; } } - - public String getStatus$(){ - if (null == this.status){ return null; } - switch (this.status){ - case 1: - return "姝e父"; - case 0: - return "鍐荤粨"; - default: - return String.valueOf(this.status); - } - } - - public Boolean getStatusBool(){ if (null == this.status){ return null; } @@ -177,7 +163,5 @@ return null; } } - - } -- Gitblit v1.9.1