Browse Source

应急记录查询

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
ac4310f1ae
3 changed files with 94 additions and 0 deletions
  1. +5
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/Accident.java
  2. +50
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/query/AccidentQuery.java
  3. +39
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/accident/QueryAccidentPageRequest.java

+ 5
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/Accident.java View File

@@ -52,6 +52,11 @@ public class Accident extends BaseEntity {
*/
private String roadId;

/**
* 公路编码
*/
private String roadCode;

/**
* 路段ID
*/

+ 50
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/query/AccidentQuery.java View File

@@ -0,0 +1,50 @@
package com.tuoheng.admin.query;

import com.tuoheng.common.core.common.BaseQuery;
import lombok.Data;

import java.util.Date;

/**
* @Author ChengWang
* @Date 2023/3/7
*/
@Data
public class AccidentQuery extends BaseQuery {

/**
* 租户id
*/
private String tenantId;

/**
*公路编号
*/
private String code;

/**
* 部门名称
*/
private String name;

/**
*起始日期
*/
private String startTime;

/**
*结束日期
*/
private String endTime;

/**
* 起始日期
*/
private Date accidentStartTime;

/**
* 结束日期
*/
private Date accidentEndTime;

}

+ 39
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/request/accident/QueryAccidentPageRequest.java View File

@@ -0,0 +1,39 @@
package com.tuoheng.admin.request.accident;

import com.tuoheng.common.core.common.BaseQuery;
import lombok.Data;

/**
* @Author ChengWang
* @Date 2023/3/7
*/
@Data
public class QueryAccidentPageRequest extends BaseQuery {

/**
* 公路代号
*/
private String code;

/**
* 监管部门
*/
private String name;

/**
*是否有伤亡:0:无;1:有
*/
private String isCasualties;

/**
* 事故类型
*/
private String questionName;

/**
* 事故状态:1未处理 2处理中 3已忽略 4已处理
*/
private Integer status;


}

Loading…
Cancel
Save