From d51a8cfa10c34d9c1e7d6b4726d31e75ecee5dc6 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期五, 20 十二月 2024 18:32:03 +0800 Subject: [PATCH] 1 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java index e0574ab..a750a50 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java @@ -40,7 +40,7 @@ @ApiModelProperty(value = "技师id") @TableField("technician_id") - private Long technicianId; + private Integer technicianId; @ApiModelProperty(value = "预约时间") @TableField("subscribe_time") @@ -55,7 +55,7 @@ @TableField("user_address") private String userAddress; - @ApiModelProperty(value = "状态(0=待服务,1=已服务,2=已取消)") + @ApiModelProperty(value = "状态(0=待服务,1=已服务,2=已取消, 3=已到期)") @TableField("status") private Integer status; @@ -68,15 +68,14 @@ @TableField("create_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime createTime; - - - @ApiModelProperty(value = "订单id") + @TableField(exist = false) + private String idStr; @TableField(exist = false) private Long orderId; - @TableField(exist = false) - private String idStr; - - + public void setId(Long id) { + this.id = id; + this.idStr = String.valueOf(id); + } } -- Gitblit v1.7.1