Browse Source

参数 必填取消

develop
王兴琳 10 months ago
parent
commit
2d1298672d
  1. 6
      zc-business/src/main/java/com/zc/business/domain/DcEventProcess.java
  2. 2
      zc-business/src/main/java/com/zc/business/domain/DcEventTrafficControl.java

6
zc-business/src/main/java/com/zc/business/domain/DcEventProcess.java

@ -23,31 +23,26 @@ public class DcEventProcess
/** $column.columnComment */
@ApiModelProperty(value = "流水ID",required = true)
@NotBlank(message = "流水ID不能为空")
private Long id;
/** $column.columnComment */
@ApiModelProperty(value="事件ID",required = true)
@NotBlank(message = "事件ID不能为空")
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String eventId;
/** $column.columnComment */
@ApiModelProperty(value="操作时间",required = true)
@NotBlank(message = "操作时间不能为空")
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private Date operationTime;
/** $column.columnComment */
@ApiModelProperty(value="操作人",required = true)
@NotBlank(message = "操作人不能为空")
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
private String operator;
/** 1-pc端
2-手机端 */
@ApiModelProperty(value="来源",required = true)
@NotBlank(message = "来源不能为空")
@Excel(name = "1-pc端 2-手机端")
private Integer source;
@ -55,7 +50,6 @@ public class DcEventProcess
2-信息发布
*/
@ApiModelProperty(value="流程类型",required = true)
@NotBlank(message = "流程类型不能为空")
@Excel(name = "1-节点 2-信息发布 ")
private Integer processType;

2
zc-business/src/main/java/com/zc/business/domain/DcEventTrafficControl.java

@ -72,7 +72,7 @@ public class DcEventTrafficControl extends BaseEntity
private Long roadId;
*/
@ApiModelProperty("原因类型")
@ApiModelProperty("原因类型 3-1 雨3-2 雪3-3 雾3-4 道路积水3-5 道路湿滑3-6 道路结冰3-7 沙尘暴4-1 专项工程施工 4-2 改扩建工程施工4-3 其他施工',")
private String causeType;
@ApiModelProperty("措施 1-临时关闭2-限行车辆3-限行车道4-限行车道且限行车辆5-间隔放行6-并道行驶 7-限速',")

Loading…
Cancel
Save