From e1341c21eff54bb24c1c98df2e65387ff7e17dd7 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 29 九月 2022 21:10:42 +0800
Subject: [PATCH] 修改swagger错误和细节
---
ycl-platform/src/main/java/com/ycl/dto/casePool/ViolationParam.java | 35 +++++++++++++++++++++--------------
1 files changed, 21 insertions(+), 14 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 90853df..5bd2cfc 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
@@ -11,35 +11,42 @@
/**
* 闂绫诲埆锛�1-杩濊 2-杩濆缓锛�
*/
- @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓", dataType = "Integer")
+ @ApiModelProperty(value = "闂绫诲埆锛�1-杩濊 2-杩濆缓")
@NotNull(message = "涓嶅厑璁搁棶棰樼被鍨嬩负绌�")
private Integer category;
/**
* 澶х被
*/
- @ApiModelProperty(value = "澶х被", dataType = "Integer")
+ @ApiModelProperty(value = "澶х被")
@NotNull(message = "涓嶅厑璁稿ぇ绫讳负绌�")
private Integer categoryId;
/**
* 灏忕被
*/
- @ApiModelProperty(value = "灏忕被", dataType = "Integer")
+ @ApiModelProperty(value = "灏忕被")
@NotNull(message = "涓嶅厑璁稿皬绫讳负绌�")
private Integer typeId;
/**
+ * 妗堜欢绛夌骇
+ */
+ @ApiModelProperty(value = "妗堜欢绛夌骇")
+ @NotNull(message = "涓嶅厑璁告浠剁瓑绾т负绌�")
+ private Integer gradeId;
+
+ /**
* 鎵�灞炶閬�
*/
- @ApiModelProperty(value = "鎵�灞炶閬�", dataType = "Integer")
+ @ApiModelProperty(value = "鎵�灞炶閬�")
@NotNull(message = "涓嶅厑璁告墍灞炶閬撲负绌�")
private Integer streetId;
/**
* 鎵�灞炵ぞ鍖�
*/
- @ApiModelProperty(value = "鎵�灞炵ぞ鍖�", dataType = "Integer")
+ @ApiModelProperty(value = "鎵�灞炵ぞ鍖�")
@NotBlank(message = "涓嶅厑璁告墍灞炵ぞ鍖轰负绌�")
private Integer communityId;
@@ -47,7 +54,7 @@
/**
* 妗堢敱
*/
- @ApiModelProperty(value = "妗堢敱", dataType = "String")
+ @ApiModelProperty(value = "妗堢敱")
@NotBlank(message = "涓嶅厑璁告鐢变负绌�")
private String actionCause;
@@ -55,50 +62,50 @@
/**
* 鎶ヨ鐐逛綅 浜嬪彂鍦扮偣
*/
- @ApiModelProperty(value = "浜嬪彂鍦扮偣", dataType = "String")
+ @ApiModelProperty(value = "浜嬪彂鍦扮偣")
@NotBlank(message = "涓嶅厑璁镐簨鍙戝湴鐐逛负绌�")
private String site;
/**
* 鏄惁鍏宠仈鍟嗛摵
*/
- @ApiModelProperty(value = "鏄惁鍏宠仈鍟嗛摵", dataType = "Boolean")
+ @ApiModelProperty(value = "鏄惁鍏宠仈鍟嗛摵(0鍚�1鏄�)")
private Integer linkShop;
/**
* 鍏宠仈鍟嗛摵鍚嶇О
*/
- @ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О", dataType = "String")
+ @ApiModelProperty(value = "鍏宠仈鍟嗛摵鍚嶇О")
private String shopName;
/**
* 杞︾墝鍙�
*/
- @ApiModelProperty(value = "杞︾墝鍙�", dataType = "String")
+ @ApiModelProperty(value = "杞︾墝鍙�")
private String carNumber;
/**
* 闂鎻忚堪
*/
- @ApiModelProperty(value = "闂鎻忚堪", dataType = "String")
+ @ApiModelProperty(value = "闂鎻忚堪")
@NotBlank(message = "涓嶅厑璁搁棶棰樻弿杩颁负绌�")
private String description;
/**
* 鍙嶆槧浜�
*/
- @ApiModelProperty(value = "鍙嶆槧浜�", dataType = "String")
+ @ApiModelProperty(value = "鍙嶆槧浜�")
private String informant;
/**
* 鍙嶆槧浜鸿仈绯绘柟寮�
*/
- @ApiModelProperty(value = "鍙嶆槧浜鸿仈绯绘柟寮�", dataType = "String")
+ @ApiModelProperty(value = "鍙嶆槧浜鸿仈绯绘柟寮�")
private String informantPhoneCode;
/**
* 韬唤璇佸彿鐮�
*/
- @ApiModelProperty(value = "韬唤璇佸彿鐮�", dataType = "String")
+ @ApiModelProperty(value = "韬唤璇佸彿鐮�")
private String informantIdCard;
}
--
Gitblit v1.8.0