From 306edc156e365af506552c4a070ada91deeacfb1 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 16 十二月 2022 12:01:17 +0800
Subject: [PATCH] fix: 预警研判案件确定不走上报接口
---
ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java | 37 +++++++++++++++++++++++++++++--------
1 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java b/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
index 3966a9c..33b7dfd 100644
--- a/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
+++ b/ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java
@@ -1,5 +1,8 @@
package com.ycl.dto.casePool;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.ycl.dto.caseHandler.DispatchInfoParam;
+import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -7,13 +10,12 @@
import javax.validation.constraints.NotNull;
@Data
+@ApiModel(value = "娣诲姞杩濊妗堜欢")
public class ViolationParam {
- /**
- * 闂绫诲埆锛�1-杩濊 2-杩濆缓锛�
- */
- @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓")
- @NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�")
- private Integer category;
+
+
+ @ApiModelProperty(value = "鐘舵��")
+ private Integer state;
/**
* 澶х被
@@ -23,11 +25,30 @@
private Integer categoryId;
/**
+ * 鎶ヨ鏃堕棿
+ */
+ @TableField("alarm_time")
+ private String alarmTime;
+
+ /**
+ * 璋冨害鏃堕檺
+ */
+ @TableField("limit_time")
+ private String limitTime;
+
+ /**
* 灏忕被
*/
@ApiModelProperty(value = "灏忕被")
@NotNull(message = "涓嶅厑璁稿皬绫讳负绌�")
private Integer typeId;
+
+ /**
+ * 妗堜欢绛夌骇
+ */
+ @ApiModelProperty(value = "妗堜欢绛夌骇")
+ @NotNull(message = "涓嶅厑璁告浠剁瓑绾т负绌�")
+ private Integer gradeId;
/**
* 鎵�灞炶閬�
@@ -40,7 +61,7 @@
* 鎵�灞炵ぞ鍖�
*/
@ApiModelProperty(value = "鎵�灞炵ぞ鍖�")
- @NotBlank(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
+ @NotNull(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
private Integer communityId;
@@ -69,7 +90,7 @@
* 鍏宠仈鍟嗛摵鍚嶇О
*/
@ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О")
- private String shopName;
+ private Integer shopName;
/**
* 杞︾墝鍙�
--
Gitblit v1.8.0