30 changed files with 4 additions and 2188 deletions
@ -1,63 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.constant; |
|||
|
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Getter; |
|||
import net.lab1024.sa.base.common.enumeration.BaseEnum; |
|||
|
|||
/** |
|||
* 维权流程状态枚举 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-18 |
|||
*/ |
|||
@AllArgsConstructor |
|||
@Getter |
|||
public enum RightsFlowStatusEnum implements BaseEnum { |
|||
|
|||
/** |
|||
* 0 待提交 |
|||
*/ |
|||
PENDING_SUBMIT(0, "待提交"), |
|||
|
|||
/** |
|||
* 1 待受理 |
|||
*/ |
|||
PENDING_ACCEPT(1, "待受理"), |
|||
|
|||
/** |
|||
* 2 受理中 |
|||
*/ |
|||
ACCEPTING(2, "受理中"), |
|||
|
|||
/** |
|||
* 3 已受理 |
|||
*/ |
|||
ACCEPTED(3, "已受理"), |
|||
|
|||
/** |
|||
* 4 办理中 |
|||
*/ |
|||
PROCESSING(4, "办理中"), |
|||
|
|||
/** |
|||
* 5 已办结 |
|||
*/ |
|||
COMPLETED(5, "已办结"), |
|||
|
|||
|
|||
/** |
|||
* 7 已评价 |
|||
*/ |
|||
EVALUATED(6, "已评价"), |
|||
|
|||
/** |
|||
* 9 不受理 |
|||
*/ |
|||
REJECTED(9, "不受理"), |
|||
|
|||
; |
|||
|
|||
private final Integer value; |
|||
|
|||
private final String desc; |
|||
} |
|||
@ -1,60 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.dto; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 警情查询 DTO |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "警情查询参数") |
|||
public class PoliceEventQueryDTO { |
|||
|
|||
@Schema(description = "接警单编号") |
|||
private String receiveNo; |
|||
|
|||
@Schema(description = "案件名称") |
|||
private String caseName; |
|||
|
|||
@Schema(description = "案件类型(administrative:行政,criminal:刑事,other:其他)") |
|||
private String caseType; |
|||
|
|||
@Schema(description = "报案开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime reportStartTime; |
|||
|
|||
@Schema(description = "报案结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime reportEndTime; |
|||
|
|||
@Schema(description = "受理开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime acceptStartTime; |
|||
|
|||
@Schema(description = "受理结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime acceptEndTime; |
|||
|
|||
@Schema(description = "报警开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime alarmStartTime; |
|||
|
|||
@Schema(description = "报警结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime alarmEndTime; |
|||
|
|||
@Schema(description = "接警单位") |
|||
private String receiveUnit; |
|||
|
|||
@Schema(description = "页码") |
|||
private Integer pageNum = 1; |
|||
|
|||
@Schema(description = "每页条数") |
|||
private Integer pageSize = 10; |
|||
} |
|||
@ -1,52 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.dto; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 案件查询 DTO |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "案件查询参数") |
|||
public class RightsCaseQueryDTO { |
|||
|
|||
@Schema(description = "案件编号") |
|||
private String caseNo; |
|||
|
|||
@Schema(description = "案件名称") |
|||
private String caseName; |
|||
|
|||
@Schema(description = "案件类型(administrative:行政,criminal:刑事,other:其他)") |
|||
private String caseType; |
|||
|
|||
@Schema(description = "案件状态(pending:待受理,accepted:已受理,investigating:调查中,closed:已结案,archived:已归档)") |
|||
private String caseStatus; |
|||
|
|||
@Schema(description = "报案开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime reportStartTime; |
|||
|
|||
@Schema(description = "报案结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime reportEndTime; |
|||
|
|||
@Schema(description = "受理开始时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime acceptStartTime; |
|||
|
|||
@Schema(description = "受理结束时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime acceptEndTime; |
|||
|
|||
@Schema(description = "页码") |
|||
private Integer pageNum = 1; |
|||
|
|||
@Schema(description = "每页条数") |
|||
private Integer pageSize = 10; |
|||
} |
|||
@ -1,159 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 警情事件实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@TableName("t_police_event") |
|||
public class PoliceEventEntity { |
|||
|
|||
/** |
|||
* 警情事件 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long eventId; |
|||
|
|||
/** |
|||
* 序号 |
|||
*/ |
|||
private String serialNumber; |
|||
|
|||
/** |
|||
* 接警单编号 |
|||
*/ |
|||
private String receiveNo; |
|||
|
|||
/** |
|||
* 报警方式(phone:电话报警,visit:来访报警,letter:来信报警,email:邮件报警,online:网络报警,other:其他) |
|||
*/ |
|||
private String alarmMethod; |
|||
|
|||
/** |
|||
* 报警时间 |
|||
*/ |
|||
private LocalDateTime alarmTime; |
|||
|
|||
/** |
|||
* 报警电话 |
|||
*/ |
|||
private String alarmPhone; |
|||
|
|||
/** |
|||
* 案发时间 |
|||
*/ |
|||
private LocalDateTime incidentTime; |
|||
|
|||
/** |
|||
* 案发地点 |
|||
*/ |
|||
private String incidentPlace; |
|||
|
|||
/** |
|||
* 报警内容 |
|||
*/ |
|||
private String alarmContent; |
|||
|
|||
/** |
|||
* 报警类型(emergency:紧急,urgent: urgent,normal:普通) |
|||
*/ |
|||
private String alarmType; |
|||
|
|||
/** |
|||
* 报警人姓名 |
|||
*/ |
|||
private String alarmPersonName; |
|||
|
|||
/** |
|||
* 报警人联系电话 |
|||
*/ |
|||
private String alarmPersonPhone; |
|||
|
|||
/** |
|||
* 接警单位 |
|||
*/ |
|||
private String receiveUnit; |
|||
|
|||
/** |
|||
* 接警人姓名 |
|||
*/ |
|||
private String receivePersonName; |
|||
|
|||
/** |
|||
* 接警人警号 |
|||
*/ |
|||
private String receivePersonPoliceNo; |
|||
|
|||
/** |
|||
* 接警时间 |
|||
*/ |
|||
private LocalDateTime receiveTime; |
|||
|
|||
/** |
|||
* 案件名称 |
|||
*/ |
|||
private String caseName; |
|||
|
|||
/** |
|||
* 案件类型(administrative:行政,criminal:刑事,other:其他) |
|||
*/ |
|||
private String caseType; |
|||
|
|||
/** |
|||
* 报案时间 |
|||
*/ |
|||
private LocalDateTime reportTime; |
|||
|
|||
/** |
|||
* 受理时间 |
|||
*/ |
|||
private LocalDateTime acceptTime; |
|||
|
|||
/** |
|||
* 详情链接 |
|||
*/ |
|||
private String detailUrl; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除(0-未删除 1-已删除) |
|||
*/ |
|||
private Integer deletedFlag; |
|||
} |
|||
@ -1,134 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 民警维权申诉表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_defense_appeal") |
|||
public class RightsAppealEntity { |
|||
|
|||
/** |
|||
* 申诉 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long appealId; |
|||
|
|||
/** |
|||
* 原维权申请 ID |
|||
*/ |
|||
private Long rightsId; |
|||
|
|||
/** |
|||
* 原办件 ID |
|||
*/ |
|||
private Long originalCaseId; |
|||
|
|||
/** |
|||
* 申诉人 ID |
|||
*/ |
|||
private Long appellantId; |
|||
|
|||
/** |
|||
* 申诉人姓名 |
|||
*/ |
|||
private String appellantName; |
|||
|
|||
/** |
|||
* 申诉人警号 |
|||
*/ |
|||
private String appellantPoliceNo; |
|||
|
|||
/** |
|||
* 申诉时间 |
|||
*/ |
|||
private LocalDateTime appealTime; |
|||
|
|||
/** |
|||
* 申诉理由 |
|||
*/ |
|||
private String appealReason; |
|||
|
|||
/** |
|||
* 申诉请求 |
|||
*/ |
|||
private String appealRequest; |
|||
|
|||
/** |
|||
* 新证据材料 |
|||
*/ |
|||
private String newEvidence; |
|||
|
|||
/** |
|||
* 申诉状态(待审核、审核通过、审核不通过、办理中、已办结) |
|||
*/ |
|||
private String appealStatus; |
|||
|
|||
/** |
|||
* 处理意见 |
|||
*/ |
|||
private String handleOpinion; |
|||
|
|||
/** |
|||
* 处理结果 |
|||
*/ |
|||
private String handleResult; |
|||
|
|||
/** |
|||
* 处理人 ID |
|||
*/ |
|||
private Long handleUserId; |
|||
|
|||
/** |
|||
* 处理人姓名 |
|||
*/ |
|||
private String handleUserName; |
|||
|
|||
/** |
|||
* 处理时间 |
|||
*/ |
|||
private LocalDateTime handleTime; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,253 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 民警维权申请表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_defense_application") |
|||
public class RightsApplicationEntity { |
|||
|
|||
/** |
|||
* 维权 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long rightsId; |
|||
|
|||
/** |
|||
* 维权编号 |
|||
*/ |
|||
private String rightsNo; |
|||
|
|||
/** |
|||
* 申请类型(本人申请、非本人申请) |
|||
*/ |
|||
private String applicationType; |
|||
|
|||
/** |
|||
* 申请人 ID |
|||
*/ |
|||
private Long applicantId; |
|||
|
|||
/** |
|||
* 申请人姓名 |
|||
*/ |
|||
private String applicantName; |
|||
|
|||
/** |
|||
* 申请人警号 |
|||
*/ |
|||
private String applicantPoliceNo; |
|||
|
|||
/** |
|||
* 申请机构 |
|||
*/ |
|||
private String applicantOrg; |
|||
|
|||
/** |
|||
* 申请机构 ID |
|||
*/ |
|||
private String applicantOrgId; |
|||
|
|||
/** |
|||
* 被侵权人姓名(冗余) |
|||
*/ |
|||
private String victimName; |
|||
|
|||
/** |
|||
* 事件发生时间 |
|||
*/ |
|||
private LocalDateTime incidentTime; |
|||
|
|||
/** |
|||
* 事件地点 |
|||
*/ |
|||
private String incidentLocation; |
|||
|
|||
/** |
|||
* 执法环节 |
|||
*/ |
|||
private String incidentPhase; |
|||
|
|||
/** |
|||
* 侵害类型 |
|||
*/ |
|||
private String incidentType; |
|||
|
|||
/** |
|||
* 关联案件 |
|||
*/ |
|||
private String relatedCase; |
|||
|
|||
private String handleDepartments; |
|||
|
|||
/** |
|||
* 关联警情 |
|||
*/ |
|||
private String relatedAlarm; |
|||
|
|||
/** |
|||
* 维权事项 |
|||
*/ |
|||
private String rightsItems; |
|||
|
|||
/** |
|||
* 证据文件 JSON 数组 |
|||
*/ |
|||
private String evidenceFiles; |
|||
|
|||
/** |
|||
* 流程状态(0 待提交、1 待受理、2 已受理、3 办理中、4 已办结、5 待评价、6 已评价、9 不受理) |
|||
*/ |
|||
private String flowStatus; |
|||
|
|||
/** |
|||
* 工作流实例 ID |
|||
*/ |
|||
private Long instanceId; |
|||
|
|||
/** |
|||
* 当前审批节点 |
|||
*/ |
|||
private String currentNode; |
|||
|
|||
/** |
|||
* 提交时间 |
|||
*/ |
|||
private LocalDateTime submitTime; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
@TableField("deleted_flag") |
|||
private Boolean deletedFlag; |
|||
|
|||
/** |
|||
* 是否报备工单 (0-否 1-是) |
|||
*/ |
|||
@TableField("is_reported") |
|||
private Integer isReported; |
|||
|
|||
/** |
|||
* 是否评查 (0-否 1-是) |
|||
*/ |
|||
@TableField("is_reviewed") |
|||
private Integer isReviewed; |
|||
|
|||
@TableField("claims") |
|||
private String claims; |
|||
|
|||
@TableField("application_area") |
|||
private String applicationArea; |
|||
|
|||
/** |
|||
* 延期申请状态 (0-无延期,1-延期申请中,2-已延期) |
|||
*/ |
|||
@TableField("delay_apply_status") |
|||
private Integer delayApplyStatus; |
|||
|
|||
/** |
|||
* 延期次数 |
|||
*/ |
|||
@TableField("delay_times") |
|||
private Integer delayTimes; |
|||
|
|||
/** |
|||
* 总延期天数 |
|||
*/ |
|||
@TableField("total_delay_days") |
|||
private Integer totalDelayDays; |
|||
|
|||
/** |
|||
* 预计办结时间 |
|||
*/ |
|||
@TableField("expected_finish_time") |
|||
private LocalDateTime expectedFinishTime; |
|||
|
|||
/** |
|||
* 实际办结时间 |
|||
*/ |
|||
@TableField("actual_finish_time") |
|||
private LocalDateTime actualFinishTime; |
|||
|
|||
/** |
|||
* 是否超期 |
|||
*/ |
|||
@TableField("is_timeout") |
|||
private Boolean isTimeout; |
|||
|
|||
/** |
|||
* 满意度等级 (满意、基本满意、不满意) |
|||
*/ |
|||
@TableField("satisfaction_level") |
|||
private String satisfactionLevel; |
|||
|
|||
/** |
|||
* 满意度评分 (1-3 分) |
|||
*/ |
|||
@TableField("satisfaction_score") |
|||
private Integer satisfactionScore; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
@TableField("evaluation_content") |
|||
private String evaluationContent; |
|||
|
|||
/** |
|||
* 评价人 ID |
|||
*/ |
|||
@TableField("evaluator_id") |
|||
private Long evaluatorId; |
|||
|
|||
/** |
|||
* 评价人姓名 |
|||
*/ |
|||
@TableField("evaluator_name") |
|||
private String evaluatorName; |
|||
|
|||
/** |
|||
* 评价时间 |
|||
*/ |
|||
@TableField("evaluate_time") |
|||
private LocalDateTime evaluateTime; |
|||
} |
|||
@ -1,139 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 民警维权办件表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_defense_case") |
|||
public class RightsCaseEntity { |
|||
|
|||
/** |
|||
* 办件 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private String caseId; |
|||
|
|||
/** |
|||
* 维权申请 ID |
|||
*/ |
|||
private Long rightsId; |
|||
|
|||
/** |
|||
* 办件类型(督察受理、局领导审核、保障结果反馈等) |
|||
*/ |
|||
private String caseType; |
|||
|
|||
/** |
|||
* 办理人 ID |
|||
*/ |
|||
private Long handlerId; |
|||
|
|||
/** |
|||
* 办理人姓名 |
|||
*/ |
|||
private String handlerName; |
|||
|
|||
/** |
|||
* 办理单位 |
|||
*/ |
|||
private String handlerUnit; |
|||
|
|||
/** |
|||
* 办理意见 |
|||
*/ |
|||
private String handlerOpinion; |
|||
|
|||
/** |
|||
* 办理结果 |
|||
*/ |
|||
private String handlerResult; |
|||
|
|||
/** |
|||
* 反馈时间 |
|||
*/ |
|||
private LocalDateTime feedbackTime; |
|||
|
|||
/** |
|||
* 是否通过(0 否 1 是) |
|||
*/ |
|||
private Boolean isPass; |
|||
|
|||
/** |
|||
* 驳回原因 |
|||
*/ |
|||
private String rejectReason; |
|||
|
|||
/** |
|||
* 是否需要延期 |
|||
*/ |
|||
private Boolean needDelay; |
|||
|
|||
/** |
|||
* 延期原因 |
|||
*/ |
|||
private String delayReason; |
|||
|
|||
/** |
|||
* 延期天数 |
|||
*/ |
|||
private Integer delayDays; |
|||
|
|||
/** |
|||
* 预计办结时间 |
|||
*/ |
|||
private LocalDateTime expectedFinishTime; |
|||
|
|||
/** |
|||
* 实际办结时间 |
|||
*/ |
|||
private LocalDateTime actualFinishTime; |
|||
|
|||
/** |
|||
* 是否超期 |
|||
*/ |
|||
private Boolean isTimeout; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,149 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 案件信息实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_case_info") |
|||
public class RightsCaseInfoEntity { |
|||
|
|||
/** |
|||
* 案件 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private String caseId; |
|||
|
|||
/** |
|||
* 序号 |
|||
*/ |
|||
private String serialNumber; |
|||
|
|||
/** |
|||
* 案件编号 |
|||
*/ |
|||
private String caseNo; |
|||
|
|||
/** |
|||
* 案件名称 |
|||
*/ |
|||
private String caseName; |
|||
|
|||
/** |
|||
* 案件类型(administrative:行政,criminal:刑事,other:其他) |
|||
*/ |
|||
private String caseType; |
|||
|
|||
/** |
|||
* 主办单位 |
|||
*/ |
|||
private String organizeUnit; |
|||
|
|||
/** |
|||
* 案件状态(pending:待受理,accepted:已受理,investigating:调查中,closed:已结案,archived:已归档) |
|||
*/ |
|||
private String caseStatus; |
|||
|
|||
/** |
|||
* 报案时间 |
|||
*/ |
|||
private LocalDateTime reportTime; |
|||
|
|||
/** |
|||
* 受理时间 |
|||
*/ |
|||
private LocalDateTime acceptTime; |
|||
|
|||
/** |
|||
* 立案时间 |
|||
*/ |
|||
private LocalDateTime registerTime; |
|||
|
|||
/** |
|||
* 结案时间 |
|||
*/ |
|||
private LocalDateTime closeTime; |
|||
|
|||
/** |
|||
* 归档时间 |
|||
*/ |
|||
private LocalDateTime archiveTime; |
|||
|
|||
/** |
|||
* 主办人姓名 |
|||
*/ |
|||
private String organizerName; |
|||
|
|||
/** |
|||
* 主办人警号 |
|||
*/ |
|||
private String organizerPoliceNo; |
|||
|
|||
/** |
|||
* 主办人电话 |
|||
*/ |
|||
private String organizerPhone; |
|||
|
|||
/** |
|||
* 简要案情 |
|||
*/ |
|||
private String briefDescription; |
|||
|
|||
/** |
|||
* 关联警情 ID |
|||
*/ |
|||
private String relatedEventId; |
|||
|
|||
/** |
|||
* 关联接警单编号 |
|||
*/ |
|||
private String relatedReceiveNo; |
|||
|
|||
/** |
|||
* 详情链接 |
|||
*/ |
|||
private String detailUrl; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除(0-未删除 1-已删除) |
|||
*/ |
|||
private Integer deletedFlag; |
|||
} |
|||
@ -1,99 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 保障诉求配置表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_claim_config") |
|||
public class RightsClaimConfigEntity { |
|||
|
|||
/** |
|||
* 配置 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long configId; |
|||
|
|||
/** |
|||
* 保障诉求类型 |
|||
*/ |
|||
private String claimType; |
|||
|
|||
/** |
|||
* 诉求编码 |
|||
*/ |
|||
private String claimCode; |
|||
|
|||
/** |
|||
* 关联事件性质 |
|||
*/ |
|||
private String eventType; |
|||
|
|||
/** |
|||
* 办理时限(天) |
|||
*/ |
|||
private Integer timeLimit; |
|||
|
|||
/** |
|||
* 填报要求 |
|||
*/ |
|||
private String fillRequirement; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sortOrder; |
|||
|
|||
/** |
|||
* 是否启用 |
|||
*/ |
|||
private Boolean isEnabled; |
|||
|
|||
/** |
|||
* 备注 |
|||
*/ |
|||
private String remark; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,100 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
@TableName("t_rights_defense_claim") |
|||
public class RightsClaimEntity { |
|||
|
|||
@TableId(type = IdType.AUTO) |
|||
private Long claimId; |
|||
|
|||
private Long rightsId; |
|||
|
|||
private Long configId; |
|||
|
|||
private String claimType; |
|||
|
|||
private String reportRequirement; |
|||
|
|||
private Integer deadline; |
|||
|
|||
private Long handlerId; |
|||
|
|||
private String handlerName; |
|||
|
|||
private LocalDateTime handleTime; |
|||
|
|||
private String evidenceFiles; |
|||
|
|||
@TableField(exist = false) |
|||
private List<RightsDefenseFileForm> evidenceList; |
|||
|
|||
private String handleDescription; |
|||
|
|||
/** |
|||
* 会商 ID |
|||
*/ |
|||
private Long consultationId; |
|||
|
|||
/** |
|||
* 会商名称 |
|||
*/ |
|||
private String consultationName; |
|||
|
|||
/** |
|||
* 办理类型 (1-直接办理,2-会商办理,3-延期办理) |
|||
*/ |
|||
private Integer handleType; |
|||
|
|||
/** |
|||
* 延期原因 |
|||
*/ |
|||
private String delayReason; |
|||
|
|||
/** |
|||
* 延期天数 |
|||
*/ |
|||
private Integer delayDays; |
|||
|
|||
/** |
|||
* 原截止时间 |
|||
*/ |
|||
private LocalDateTime originalDeadlineDate; |
|||
|
|||
/** |
|||
* 新截止时间 |
|||
*/ |
|||
private LocalDateTime newDeadlineDate; |
|||
|
|||
/** |
|||
* 处理方式类型(多个用逗号分隔) |
|||
*/ |
|||
private String punishmentTypes; |
|||
|
|||
/** |
|||
* 抚恤金额 |
|||
*/ |
|||
private java.math.BigDecimal compensationAmount; |
|||
|
|||
/** |
|||
* 挽回损失金额(元) |
|||
*/ |
|||
private java.math.BigDecimal recoveryLoss; |
|||
|
|||
/** |
|||
* 是否追究领导和责任人责任(0-否 1-是) |
|||
*/ |
|||
private Integer pursueResponsibility; |
|||
|
|||
private LocalDateTime createTime; |
|||
|
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,29 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class RightsDefenseFileForm { |
|||
|
|||
@Schema(description = "文件ID") |
|||
private Long fileId; |
|||
|
|||
@Schema(description = "文件Key") |
|||
private String fileKey; |
|||
|
|||
@Schema(description = "文件名称") |
|||
private String fileName; |
|||
|
|||
@Schema(description = "文件大小") |
|||
private Long fileSize; |
|||
|
|||
@Schema(description = "文件类型") |
|||
private String fileType; |
|||
|
|||
@Schema(description = "附件地址") |
|||
private String fileUrl; |
|||
|
|||
@Schema(description = "附件业务类型(1:佐证材料;2:初查材料;3:办理材料)") |
|||
private Integer busType; |
|||
} |
|||
@ -1,99 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 民警维权评价表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_defense_evaluation") |
|||
public class RightsEvaluationEntity { |
|||
|
|||
/** |
|||
* 评价 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long evaluationId; |
|||
|
|||
/** |
|||
* 维权申请 ID |
|||
*/ |
|||
private Long rightsId; |
|||
|
|||
/** |
|||
* 办件 ID |
|||
*/ |
|||
private String caseId; |
|||
|
|||
/** |
|||
* 评价人 ID |
|||
*/ |
|||
private Long evaluatorId; |
|||
|
|||
/** |
|||
* 评价人姓名 |
|||
*/ |
|||
private String evaluatorName; |
|||
|
|||
/** |
|||
* 满意度等级(非常满意、满意、基本满意、不满意) |
|||
*/ |
|||
private String satisfactionLevel; |
|||
|
|||
/** |
|||
* 满意度评分(1-5 分) |
|||
*/ |
|||
private Integer satisfactionScore; |
|||
|
|||
/** |
|||
* 评价内容 |
|||
*/ |
|||
private String evaluationContent; |
|||
|
|||
/** |
|||
* 回复内容 |
|||
*/ |
|||
private String replyContent; |
|||
|
|||
/** |
|||
* 回复人 ID |
|||
*/ |
|||
private Long replyUserId; |
|||
|
|||
/** |
|||
* 回复人姓名 |
|||
*/ |
|||
private String replyUserName; |
|||
|
|||
/** |
|||
* 回复时间 |
|||
*/ |
|||
private LocalDateTime replyTime; |
|||
|
|||
/** |
|||
* 评价时间 |
|||
*/ |
|||
private LocalDateTime evaluateTime; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,69 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 事件性质与保障诉求关联表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-05 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_event_claim_rel") |
|||
public class RightsEventClaimRelEntity { |
|||
|
|||
/** |
|||
* 关联 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long relId; |
|||
|
|||
/** |
|||
* 事件性质 ID |
|||
*/ |
|||
private Long eventTypeId; |
|||
|
|||
/** |
|||
* 保障诉求配置 ID |
|||
*/ |
|||
private Long configId; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,64 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 事件性质表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-05 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_event_type") |
|||
public class RightsEventTypeEntity { |
|||
|
|||
/** |
|||
* 事件性质 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long eventTypeId; |
|||
|
|||
/** |
|||
* 事件性质名称 |
|||
*/ |
|||
private String eventTypeName; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,114 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 维权组织成员表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_organization_member") |
|||
public class RightsOrganizationMemberEntity { |
|||
|
|||
/** |
|||
* 成员 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long memberId; |
|||
|
|||
/** |
|||
* 成员类型(维权委成员、维权办成员、会商成员、工作组) |
|||
*/ |
|||
private String memberType; |
|||
|
|||
/** |
|||
* 用户 ID |
|||
*/ |
|||
private Long userId; |
|||
|
|||
/** |
|||
* 用户姓名 |
|||
*/ |
|||
private String userName; |
|||
|
|||
/** |
|||
* 警号 |
|||
*/ |
|||
private String policeNo; |
|||
|
|||
/** |
|||
* 单位名称 |
|||
*/ |
|||
private String unitName; |
|||
|
|||
/** |
|||
* 职务 |
|||
*/ |
|||
private String position; |
|||
|
|||
/** |
|||
* 角色(主任、副主任、委员、联络员等) |
|||
*/ |
|||
private String role; |
|||
|
|||
/** |
|||
* 管辖区域 |
|||
*/ |
|||
private String jurisdictionArea; |
|||
|
|||
/** |
|||
* 是否启用 |
|||
*/ |
|||
private Boolean isEnabled; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sortOrder; |
|||
|
|||
/** |
|||
* 备注 |
|||
*/ |
|||
private String remark; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,174 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 民警维权报备表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_defense_record") |
|||
public class RightsRecordEntity { |
|||
|
|||
/** |
|||
* 报备 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long recordId; |
|||
|
|||
/** |
|||
* 报备类型(代为申请、记录备案) |
|||
*/ |
|||
private String recordType; |
|||
|
|||
/** |
|||
* 被侵权人 ID |
|||
*/ |
|||
private Long victimId; |
|||
|
|||
/** |
|||
* 被侵权人姓名 |
|||
*/ |
|||
private String victimName; |
|||
|
|||
/** |
|||
* 被侵权人警号 |
|||
*/ |
|||
private String victimPoliceNo; |
|||
|
|||
/** |
|||
* 被侵权人单位 |
|||
*/ |
|||
private String victimUnit; |
|||
|
|||
/** |
|||
* 事件发生时间 |
|||
*/ |
|||
private LocalDateTime incidentTime; |
|||
|
|||
/** |
|||
* 事件地点 |
|||
*/ |
|||
private String incidentLocation; |
|||
|
|||
/** |
|||
* 执法环节 |
|||
*/ |
|||
private String incidentPhase; |
|||
|
|||
/** |
|||
* 侵害类型 |
|||
*/ |
|||
private String incidentType; |
|||
|
|||
/** |
|||
* 事件描述 |
|||
*/ |
|||
private String incidentDescription; |
|||
|
|||
/** |
|||
* 是否有保障诉求(0 否 1 是) |
|||
*/ |
|||
private Boolean hasClaim; |
|||
|
|||
/** |
|||
* 保障诉求内容 |
|||
*/ |
|||
private String claimContent; |
|||
|
|||
/** |
|||
* 证据文件 |
|||
*/ |
|||
private String evidenceFiles; |
|||
|
|||
/** |
|||
* 报备人 ID |
|||
*/ |
|||
private Long recordUserId; |
|||
|
|||
/** |
|||
* 报备人姓名 |
|||
*/ |
|||
private String recordUserName; |
|||
|
|||
/** |
|||
* 报备人警号 |
|||
*/ |
|||
private String recordUserPoliceNo; |
|||
|
|||
/** |
|||
* 报备单位 |
|||
*/ |
|||
private String recordUnit; |
|||
|
|||
/** |
|||
* 报备时间 |
|||
*/ |
|||
private LocalDateTime recordTime; |
|||
|
|||
/** |
|||
* 处理状态(待处理、处理中、已处理) |
|||
*/ |
|||
private String handleStatus; |
|||
|
|||
/** |
|||
* 处理意见 |
|||
*/ |
|||
private String handleOpinion; |
|||
|
|||
/** |
|||
* 处理人 ID |
|||
*/ |
|||
private Long handleUserId; |
|||
|
|||
/** |
|||
* 处理人姓名 |
|||
*/ |
|||
private String handleUserName; |
|||
|
|||
/** |
|||
* 处理时间 |
|||
*/ |
|||
private LocalDateTime handleTime; |
|||
|
|||
/** |
|||
* 创建人 ID |
|||
*/ |
|||
private Long createUserId; |
|||
|
|||
/** |
|||
* 创建人姓名 |
|||
*/ |
|||
private String createUserName; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新人 ID |
|||
*/ |
|||
private Long updateUserId; |
|||
|
|||
/** |
|||
* 更新人姓名 |
|||
*/ |
|||
private String updateUserName; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,104 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 维权风险预警表实体类 |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-04 |
|||
*/ |
|||
@Data |
|||
@TableName("t_rights_risk_warning") |
|||
public class RightsRiskWarningEntity { |
|||
|
|||
/** |
|||
* 预警 ID |
|||
*/ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long warningId; |
|||
|
|||
/** |
|||
* 预警类型(办件超期预警、疑似被侵权案件预警) |
|||
*/ |
|||
private String warningType; |
|||
|
|||
/** |
|||
* 预警级别(一般、重要、紧急) |
|||
*/ |
|||
private String warningLevel; |
|||
|
|||
/** |
|||
* 关联维权申请 ID |
|||
*/ |
|||
private Long rightsId; |
|||
|
|||
/** |
|||
* 关联办件 ID |
|||
*/ |
|||
private String caseId; |
|||
|
|||
/** |
|||
* 预警内容 |
|||
*/ |
|||
private String warningContent; |
|||
|
|||
/** |
|||
* 预警时间 |
|||
*/ |
|||
private LocalDateTime warningTime; |
|||
|
|||
/** |
|||
* 处理状态(未处理、已处理、已忽略) |
|||
*/ |
|||
private String handleStatus; |
|||
|
|||
/** |
|||
* 处理人 ID |
|||
*/ |
|||
private Long handleUserId; |
|||
|
|||
/** |
|||
* 处理人姓名 |
|||
*/ |
|||
private String handleUserName; |
|||
|
|||
/** |
|||
* 处理意见 |
|||
*/ |
|||
private String handleOpinion; |
|||
|
|||
/** |
|||
* 处理时间 |
|||
*/ |
|||
private LocalDateTime handleTime; |
|||
|
|||
/** |
|||
* 是否发送短信 |
|||
*/ |
|||
private Boolean sendSmsFlag; |
|||
|
|||
/** |
|||
* 发送时间 |
|||
*/ |
|||
private LocalDateTime sendTime; |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
private LocalDateTime createTime; |
|||
|
|||
/** |
|||
* 更新时间 |
|||
*/ |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** |
|||
* 是否删除 |
|||
*/ |
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,52 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import lombok.Data; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
@Data |
|||
@TableName("t_rights_defense_victim") |
|||
public class RightsVictimEntity { |
|||
|
|||
@TableId(type = IdType.AUTO) |
|||
private Long victimId; |
|||
|
|||
private Long rightsId; |
|||
|
|||
private Long employeeId; |
|||
|
|||
private String victimName; |
|||
|
|||
private String victimType; |
|||
|
|||
private String victimIdCard; |
|||
|
|||
private String victimPhone; |
|||
|
|||
private String victimWorkUnit; |
|||
|
|||
private String victimPoliceType; |
|||
|
|||
private String victimPoliceNo; |
|||
|
|||
private String victimGender; |
|||
|
|||
private LocalDateTime victimBirthday; |
|||
|
|||
/** |
|||
* 伤害程度 (sacrifice:牺牲, severe:重伤, minor:轻伤, slight:轻微伤, none:无伤害) |
|||
*/ |
|||
private String injuryLevel; |
|||
|
|||
/** |
|||
* 不公正处分处理类型,多个用逗号分隔 (criminal:刑事责任, measure:刑事强制措施, suspension:停职禁闭, party:党纪处分, admin:政纪处分, dismissal:免职降职辞退调离) |
|||
*/ |
|||
private String unjustTreatmentType; |
|||
|
|||
private LocalDateTime createTime; |
|||
|
|||
private Boolean deletedFlag; |
|||
} |
|||
@ -1,80 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.vo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 警情信息 VO |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "警情信息") |
|||
public class PoliceEventVO { |
|||
|
|||
@Schema(description = "警情事件 ID") |
|||
private String eventId; |
|||
|
|||
@Schema(description = "序号") |
|||
private String serialNumber; |
|||
|
|||
@Schema(description = "接警单编号") |
|||
private String receiveNo; |
|||
|
|||
@Schema(description = "报警方式") |
|||
private String alarmMethod; |
|||
|
|||
@Schema(description = "报警时间") |
|||
private LocalDateTime alarmTime; |
|||
|
|||
@Schema(description = "报警电话") |
|||
private String alarmPhone; |
|||
|
|||
@Schema(description = "案发时间") |
|||
private LocalDateTime incidentTime; |
|||
|
|||
@Schema(description = "案发地点") |
|||
private String incidentPlace; |
|||
|
|||
@Schema(description = "报警内容") |
|||
private String alarmContent; |
|||
|
|||
@Schema(description = "报警类型") |
|||
private String alarmType; |
|||
|
|||
@Schema(description = "报警人姓名") |
|||
private String alarmPersonName; |
|||
|
|||
@Schema(description = "报警人联系电话") |
|||
private String alarmPersonPhone; |
|||
|
|||
@Schema(description = "接警单位") |
|||
private String receiveUnit; |
|||
|
|||
@Schema(description = "接警人姓名") |
|||
private String receivePersonName; |
|||
|
|||
@Schema(description = "接警人警号") |
|||
private String receivePersonPoliceNo; |
|||
|
|||
@Schema(description = "接警时间") |
|||
private LocalDateTime receiveTime; |
|||
|
|||
@Schema(description = "案件名称") |
|||
private String caseName; |
|||
|
|||
@Schema(description = "案件类型") |
|||
private String caseType; |
|||
|
|||
@Schema(description = "报案时间") |
|||
private LocalDateTime reportTime; |
|||
|
|||
@Schema(description = "受理时间") |
|||
private LocalDateTime acceptTime; |
|||
|
|||
@Schema(description = "详情链接") |
|||
private String detailUrl; |
|||
} |
|||
@ -1,59 +0,0 @@ |
|||
package net.lab1024.sa.base.module.business.rights.domain.vo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
import java.time.LocalDateTime; |
|||
|
|||
/** |
|||
* 案件信息 VO |
|||
* |
|||
* @author SmartFlow |
|||
* @date 2026-03-27 |
|||
*/ |
|||
@Data |
|||
@Schema(description = "案件信息") |
|||
public class RightsCaseVO { |
|||
|
|||
@Schema(description = "案件 ID") |
|||
private String caseId; |
|||
|
|||
@Schema(description = "序号") |
|||
private String serialNumber; |
|||
|
|||
@Schema(description = "案件编号") |
|||
private String caseNo; |
|||
|
|||
@Schema(description = "案件名称") |
|||
private String caseName; |
|||
|
|||
@Schema(description = "案件类型") |
|||
private String caseType; |
|||
|
|||
@Schema(description = "主办单位") |
|||
private String organizeUnit; |
|||
|
|||
@Schema(description = "案件状态") |
|||
private String caseStatus; |
|||
|
|||
@Schema(description = "报案时间") |
|||
private LocalDateTime reportTime; |
|||
|
|||
@Schema(description = "受理时间") |
|||
private LocalDateTime acceptTime; |
|||
|
|||
@Schema(description = "立案时间") |
|||
private LocalDateTime registerTime; |
|||
|
|||
@Schema(description = "主办人姓名") |
|||
private String organizerName; |
|||
|
|||
@Schema(description = "主办人警号") |
|||
private String organizerPoliceNo; |
|||
|
|||
@Schema(description = "主办人电话") |
|||
private String organizerPhone; |
|||
|
|||
@Schema(description = "详情链接") |
|||
private String detailUrl; |
|||
} |
|||
@ -1,85 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="net.lab1024.sa.rights.dao.PoliceEventDao"> |
|||
|
|||
<!-- 分页查询警情列表 --> |
|||
<select id="queryPage" resultType="net.lab1024.sa.base.module.business.rights.domain.vo.PoliceEventVO"> |
|||
SELECT |
|||
t.event_id AS eventId, |
|||
t.serial_number AS serialNumber, |
|||
t.receive_no AS receiveNo, |
|||
t.alarm_method AS alarmMethod, |
|||
t.alarm_time AS alarmTime, |
|||
t.alarm_phone AS alarmPhone, |
|||
t.incident_time AS incidentTime, |
|||
t.incident_place AS incidentPlace, |
|||
t.alarm_content AS alarmContent, |
|||
t.alarm_type AS alarmType, |
|||
t.alarm_person_name AS alarmPersonName, |
|||
t.alarm_person_phone AS alarmPersonPhone, |
|||
t.receive_unit AS receiveUnit, |
|||
t.receive_person_name AS receivePersonName, |
|||
t.receive_person_police_no AS receivePersonPoliceNo, |
|||
t.receive_time AS receiveTime, |
|||
t.case_name AS caseName, |
|||
t.case_type AS caseType, |
|||
t.report_time AS reportTime, |
|||
t.accept_time AS acceptTime, |
|||
t.detail_url AS detailUrl |
|||
FROM t_police_event t |
|||
<where> |
|||
t.deleted_flag = 0 |
|||
<if test="queryForm.receiveNo != null and queryForm.receiveNo != ''"> |
|||
AND t.receive_no LIKE CONCAT('%', #{queryForm.receiveNo}, '%') |
|||
</if> |
|||
<if test="queryForm.caseName != null and queryForm.caseName != ''"> |
|||
AND t.case_name LIKE CONCAT('%', #{queryForm.caseName}, '%') |
|||
</if> |
|||
<if test="queryForm.caseType != null and queryForm.caseType != ''"> |
|||
AND t.case_type = #{queryForm.caseType} |
|||
</if> |
|||
<if test="queryForm.receiveUnit != null and queryForm.receiveUnit != ''"> |
|||
AND t.receive_unit LIKE CONCAT('%', #{queryForm.receiveUnit}, '%') |
|||
</if> |
|||
<if test="queryForm.reportStartTime != null and queryForm.reportEndTime != null"> |
|||
AND t.report_time BETWEEN #{queryForm.reportStartTime} AND #{queryForm.reportEndTime} |
|||
</if> |
|||
<if test="queryForm.acceptStartTime != null and queryForm.acceptEndTime != null"> |
|||
AND t.accept_time BETWEEN #{queryForm.acceptStartTime} AND #{queryForm.acceptEndTime} |
|||
</if> |
|||
<if test="queryForm.alarmStartTime != null and queryForm.alarmEndTime != null"> |
|||
AND t.alarm_time BETWEEN #{queryForm.alarmStartTime} AND #{queryForm.alarmEndTime} |
|||
</if> |
|||
</where> |
|||
ORDER BY t.create_time DESC |
|||
</select> |
|||
|
|||
<!-- 根据 ID 查询警情详情 --> |
|||
<select id="getById" resultType="net.lab1024.sa.base.module.business.rights.domain.vo.PoliceEventVO"> |
|||
SELECT |
|||
t.event_id AS eventId, |
|||
t.serial_number AS serialNumber, |
|||
t.receive_no AS receiveNo, |
|||
t.alarm_method AS alarmMethod, |
|||
t.alarm_time AS alarmTime, |
|||
t.alarm_phone AS alarmPhone, |
|||
t.incident_time AS incidentTime, |
|||
t.incident_place AS incidentPlace, |
|||
t.alarm_content AS alarmContent, |
|||
t.alarm_type AS alarmType, |
|||
t.alarm_person_name AS alarmPersonName, |
|||
t.alarm_person_phone AS alarmPersonPhone, |
|||
t.receive_unit AS receiveUnit, |
|||
t.receive_person_name AS receivePersonName, |
|||
t.receive_person_police_no AS receivePersonPoliceNo, |
|||
t.receive_time AS receiveTime, |
|||
t.case_name AS caseName, |
|||
t.case_type AS caseType, |
|||
t.report_time AS reportTime, |
|||
t.accept_time AS acceptTime, |
|||
t.detail_url AS detailUrl |
|||
FROM t_police_event t |
|||
WHERE t.deleted_flag = 0 AND t.event_id = #{eventId} |
|||
</select> |
|||
|
|||
</mapper> |
|||
Loading…
Reference in new issue