From e89d76539cc91bd13acabbf25a12312d2f8bba56 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 16 十二月 2025 21:27:06 +0800
Subject: [PATCH] 超过17点不接受报警
---
ycl-platform/src/main/java/com/ycl/entity/caseHandler/BaseCase.java | 81 ++++++++++++++++++++++++++++++++++++++--
1 files changed, 76 insertions(+), 5 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/entity/caseHandler/BaseCase.java b/ycl-platform/src/main/java/com/ycl/entity/caseHandler/BaseCase.java
index 356f2a9..490db69 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/caseHandler/BaseCase.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/caseHandler/BaseCase.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
+import com.ycl.vo.casePool.ViolationsVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
@@ -35,7 +36,7 @@
*/
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value = "id")
- private Integer id;
+ private Long id;
/**
* 浜嬩欢缂栧彿
@@ -57,6 +58,12 @@
@TableField("category")
@ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓锛�")
private Integer category;
+ /**
+ * 闂绫诲埆鏂囨湰
+ */
+ @TableField(value = "category_text", exist = false)
+ @ApiModelProperty(value = "闂绫诲埆鏂囨湰")
+ private String categoryText;
/**
* 鎵�灞炶閬�
@@ -64,6 +71,12 @@
@TableField("street_id")
@ApiModelProperty(value = "鎵�灞炶閬�")
private Integer streetId;
+ /**
+ * 鎵�灞炶閬撴枃鏈�
+ */
+ @TableField(value = "street_text", exist = false)
+ @ApiModelProperty(value = "鎵�灞炵ぞ鍖哄悕绉�")
+ private String streetText;
/**
* 鎵�灞炵ぞ鍖�
@@ -71,6 +84,13 @@
@TableField("community_id")
@ApiModelProperty(value = "鎵�灞炵ぞ鍖�")
private Integer communityId;
+
+ /**
+ * 鎵�灞炵ぞ鍖烘枃鏈�
+ */
+ @TableField(value = "community_text", exist = false)
+ @ApiModelProperty(value = "鎵�灞炵ぞ鍖烘枃鏈�")
+ private String communityText;
/**
* 鎶ヨ鐐逛綅 浜嬪彂鍦扮偣
@@ -105,15 +125,24 @@
*/
@TableField("create_user")
@ApiModelProperty(value = "鐧昏浜�")
- private Integer createUser;
+ private Long createUser;
/**
- * 澶勭悊鐘舵��(0璇姤 1涓婃姤 2绔嬫 3娲鹃仯 4澶勭疆 5鏍告煡 6缁撴)
+ * 鐧昏浜烘枃鏈�
+ */
+ @TableField(value = "create_user_text", exist = false)
+ @ApiModelProperty(value = "鐧昏浜烘枃鏈�")
+ private String createUserText;
+
+
+ /**
+ * 澶勭悊鐘舵��(0-寰呭鐞�1-鎶ヨ2-涓婃姤3-鍐嶅涔�/鍐嶈缁�4鏆備笉澶勭悊5绔嬫6璋冨害7澶勭疆8鏍告煡9缁撴10寰呬笂鎶�)
*/
@TableField("state")
- @ApiModelProperty(value = "澶勭悊鐘舵��(0璇姤 1涓婃姤 2绔嬫 3娲鹃仯 4澶勭疆 5鏍告煡 6缁撴)")
+ @ApiModelProperty(value = "澶勭悊鐘舵�佸鐞嗙姸鎬�(0-寰呭鐞�1-鎶ヨ2-涓婃姤3-鍐嶅涔�/鍐嶈缁�4鏆備笉澶勭悊5绔嬫6璋冨害7澶勭疆8鏍告煡9缁撴10寰呬笂鎶�)")
private Integer state;
-
+ @ApiModelProperty(value = "澶勭悊鐘舵�佸悕")
+ private String stateName;
/**
* 澶勭悊鎰忚
*/
@@ -156,10 +185,52 @@
@ApiModelProperty(value = "甯傚钩鍙扮紪鐮�")
private String taskCode;
+
+ /**
+ * 甯傚钩鍙扮紪鐮�
+ */
+ @TableField("pic")
+ @ApiModelProperty(value = "妗堜欢涓婃姤鍥剧墖")
+ private String url;
+
/**
* 缁撴潫鏃堕棿
*/
@TableField("close_time")
@ApiModelProperty(value = "缁撴潫鏃堕棿")
private LocalDateTime closeTime;
+
+ @TableField(value = "grid_id")
+ @ApiModelProperty(value = "缃戞牸id")
+ private Long gridId;
+
+ /**
+ * 杩濊浜嬩欢
+ */
+ @TableField(value = "violations", exist = false)
+ @ApiModelProperty(value = "杩濊浜嬩欢")
+ private ViolationsVO violationsVO;
+
+ /**
+ * 杩濆缓浜嬩欢
+ */
+ @TableField(value = "illegalBuilding", exist = false)
+ @ApiModelProperty(value = "杩濆缓浜嬩欢")
+ private IllegalBuilding illegalBuilding;
+
+ /**
+ * 璋冨害淇℃伅
+ */
+ @TableField(value = "dispatchInfo", exist = false)
+ @ApiModelProperty(value = "璋冨害淇℃伅")
+ private DispatchInfo dispatchInfo;
+
+ @TableField("pic")
+ @ApiModelProperty(value = "鍥剧墖")
+ private String pic;
+
+ @TableField("media")
+ @ApiModelProperty(value = "瑙嗛")
+ private String media;
+
}
\ No newline at end of file
--
Gitblit v1.8.0