From d0d86b4ad12420f2cd51133a244962ee1f34a2ee Mon Sep 17 00:00:00 2001 From: Angel <1050374295@qq.com> Date: Thu, 4 Jan 2024 17:04:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E6=B5=81=E9=87=8F=EF=BC=8C=E4=BA=BA?= =?UTF-8?q?=E6=B5=81=E9=87=8F=E3=80=82=E5=8A=A0@Tablefild?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/database/domain/PeopleVehicleFlow.java | 4 ++++ .../java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java index c6dcaed..cb38e20 100644 --- a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java +++ b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java @@ -1,6 +1,7 @@ package com.ruoyi.database.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.domain.BaseEntity; @@ -25,17 +26,20 @@ public class PeopleVehicleFlow extends BaseEntity { * 类型 * */ @ApiModelProperty("类型") + @TableField(value = "statisc_type") private Integer statistic_type; /** * 流量 */ @ApiModelProperty("数量") + @TableField(value = "statistic_count") private String statistic_count; /** * 日期 */ @ApiModelProperty("日期") + @TableField(value = "statistic_time") private String statistic_time; } diff --git a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java index 04377ef..e61f8e3 100644 --- a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java +++ b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java @@ -1,6 +1,7 @@ package com.ruoyi.database.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; @@ -24,18 +25,21 @@ public class PeopleVehicleHourFlow { * 类别(1:人/2:车) */ @ApiModelProperty("类型") + @TableField(value = "statisc_type") private Integer statistic_type; /** * 流量 */ @ApiModelProperty("数量") + @TableField(value = "statistic_count") private String statistic_count; /** * 日期 */ @ApiModelProperty("日期") + @TableField(value = "statistic_time") private String statistic_time; }