Browse Source

移除无用代码

master
18226920803 1 month ago
parent
commit
604812ba3a
  1. 9
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/flow/handler/WorkflowPermissionHandler.java
  2. 5
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/entity/EmployeeEntity.java
  3. 3
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/form/EmployeeAddForm.java
  4. 3
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/vo/EmployeeVO.java
  5. 14
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/service/EmployeeService.java
  6. 8
      smart-flow-api/sa-admin/src/main/resources/mapper/system/employee/EmployeeMapper.xml
  7. 63
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/constant/RightsFlowStatusEnum.java
  8. 60
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/dto/PoliceEventQueryDTO.java
  9. 52
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/dto/RightsCaseQueryDTO.java
  10. 159
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/PoliceEventEntity.java
  11. 134
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsAppealEntity.java
  12. 253
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsApplicationEntity.java
  13. 139
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsCaseEntity.java
  14. 149
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsCaseInfoEntity.java
  15. 99
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsClaimConfigEntity.java
  16. 100
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsClaimEntity.java
  17. 29
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsDefenseFileForm.java
  18. 99
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEvaluationEntity.java
  19. 69
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEventClaimRelEntity.java
  20. 64
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEventTypeEntity.java
  21. 114
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsOrganizationMemberEntity.java
  22. 174
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsRecordEntity.java
  23. 104
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsRiskWarningEntity.java
  24. 52
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsVictimEntity.java
  25. 80
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/vo/PoliceEventVO.java
  26. 59
      smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/vo/RightsCaseVO.java
  27. 2
      smart-flow-api/sa-base/src/main/resources/dev/sa-base.yaml
  28. 85
      smart-flow-api/sa-base/src/main/resources/mapper/rights/PoliceEventMapper.xml
  29. 2
      smart-flow-web/src/router/routers.js
  30. 9
      smart-flow-web/src/views/system/employee/components/employee-form-modal/index.vue

9
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/flow/handler/WorkflowPermissionHandler.java

@ -67,15 +67,8 @@ public class WorkflowPermissionHandler implements PermissionHandler {
// 用户和部门权限
Stream.of(String.valueOf(loginUser.getEmployeeId()),
TaskAssigneeEnum.DEPT.getCode() + loginUser.getEmployeeId()
),
)
// 诉求办理岗位权限(处理空指针)
Optional.ofNullable(loginUser.getPositionIdList())
.filter(positionIds -> positionIds != null && !positionIds.isEmpty())
.map(positionIds ->
Arrays.stream(positionIds.split(","))
.map(positionId -> TaskAssigneeEnum.POST.getCode() + positionId)
)
.orElse(Stream.empty())
)
.flatMap(stream -> stream)
.collect(Collectors.toList());

5
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/entity/EmployeeEntity.java

@ -87,11 +87,6 @@ public class EmployeeEntity {
*/
private Long positionId;
/**
* 诉求办理职位 ID 列表多选逗号分隔存储
*/
private String positionIdList;
/**
* 是否为超级管理员0 不是1
*/

3
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/form/EmployeeAddForm.java

@ -71,9 +71,6 @@ public class EmployeeAddForm {
@Schema(description = "职务级别 ID")
private Long positionId;
@Schema(description = "诉求办理职位 ID 列表(多选)")
private List<Long> positionIdList;
@Schema(description = "角色列表")
private List<Long> roleIdList;

3
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/domain/vo/EmployeeVO.java

@ -73,9 +73,6 @@ public class EmployeeVO {
@Schema(description = "职务名称")
private String positionName;
@Schema(description = "诉求办理职位 ID 列表(多选)")
private String positionIdList;
@Schema(description = "邮箱")
private String email;

14
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/employee/service/EmployeeService.java

@ -200,11 +200,6 @@ public class EmployeeService {
EmployeeEntity entity = SmartBeanUtil.copy(employeeAddForm, EmployeeEntity.class);
// 处理诉求办理职位列表,将 List<Long> 转换为逗号分隔的字符串
if (employeeAddForm.getPositionIdList() != null && !employeeAddForm.getPositionIdList().isEmpty()) {
entity.setPositionIdList(String.join(",", employeeAddForm.getPositionIdList().stream().map(String::valueOf).toArray(String[]::new)));
}
// 设置密码:优先使用配置文件的默认密码,若未配置则使用随机密码
String password = employeeConfig.getDefaultPassword();
if (password == null || password.isEmpty()) {
@ -247,15 +242,6 @@ public class EmployeeService {
// 不更新密码
entity.setLoginPwd(null);
// 处理诉求办理职位列表,将 List<Long> 转换为逗号分隔的字符串
if (employeeUpdateForm.getPositionIdList() != null) {
if (employeeUpdateForm.getPositionIdList().isEmpty()) {
entity.setPositionIdList(null);
} else {
entity.setPositionIdList(String.join(",", employeeUpdateForm.getPositionIdList().stream().map(String::valueOf).toArray(String[]::new)));
}
}
// 更新数据
employeeManager.updateEmployee(entity, employeeUpdateForm.getRoleIdList());

8
smart-flow-api/sa-admin/src/main/resources/mapper/system/employee/EmployeeMapper.xml

@ -14,7 +14,6 @@
t_employee.police_no,
t_employee.department_id,
t_employee.position_id,
t_employee.position_id_list,
t_employee.disabled_flag,
t_employee.administrator_flag,
t_employee.email,
@ -201,7 +200,6 @@
t_employee.police_no,
t_employee.department_id,
t_employee.position_id,
t_employee.position_id_list,
t_employee.disabled_flag,
t_employee.administrator_flag,
t_employee.email,
@ -228,7 +226,6 @@
t_employee.police_no,
t_employee.department_id,
t_employee.position_id,
t_employee.position_id_list,
t_employee.disabled_flag,
t_employee.administrator_flag,
t_employee.email,
@ -254,7 +251,6 @@
t_employee.police_no,
t_employee.department_id,
t_employee.position_id,
t_employee.position_id_list,
t_employee.disabled_flag,
t_employee.administrator_flag,
t_employee.email,
@ -397,9 +393,6 @@
<if test="roleId != null and roleId != 0">
and re.role_id = #{roleId} and e.employee_id = re.employee_id
</if>
<if test="positionId != null and positionId != 0">
and e.position_id_list like '%${positionId}%'
</if>
<if test="deptId != null and deptId != ''">
and (#{deptId} = ',' or instr(#{deptId}, concat(e.department_id, ',')) > 0)
</if>
@ -418,7 +411,6 @@
t_employee.police_no,
t_employee.department_id,
t_employee.position_id,
t_employee.position_id_list,
t_employee.disabled_flag,
t_employee.administrator_flag,
t_employee.email,

63
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/constant/RightsFlowStatusEnum.java

@ -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;
}

60
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/dto/PoliceEventQueryDTO.java

@ -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;
}

52
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/dto/RightsCaseQueryDTO.java

@ -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;
}

159
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/PoliceEventEntity.java

@ -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: urgentnormal:普通
*/
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;
}

134
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsAppealEntity.java

@ -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;
}

253
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsApplicationEntity.java

@ -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;
}

139
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsCaseEntity.java

@ -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;
}

149
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsCaseInfoEntity.java

@ -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;
}

99
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsClaimConfigEntity.java

@ -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;
}

100
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsClaimEntity.java

@ -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;
}

29
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsDefenseFileForm.java

@ -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;
}

99
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEvaluationEntity.java

@ -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;
}

69
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEventClaimRelEntity.java

@ -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;
}

64
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsEventTypeEntity.java

@ -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;
}

114
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsOrganizationMemberEntity.java

@ -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;
}

174
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsRecordEntity.java

@ -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;
}

104
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsRiskWarningEntity.java

@ -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;
}

52
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/entity/RightsVictimEntity.java

@ -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;
}

80
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/vo/PoliceEventVO.java

@ -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;
}

59
smart-flow-api/sa-base/src/main/java/net/lab1024/sa/base/module/business/rights/domain/vo/RightsCaseVO.java

@ -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;
}

2
smart-flow-api/sa-base/src/main/resources/dev/sa-base.yaml

@ -1,7 +1,7 @@
spring:
# 数据库连接信息
datasource:
url: jdbc:kingbase8://8.162.3.203:54321/kingbase?currentSchema=public,sys_catalog&clientEncoding=utf8&socketTimeout=300000&loginTimeout=3000
url: jdbc:kingbase8://8.148.25.165:54321/kingbase?currentSchema=public&clientEncoding=utf8&socketTimeout=30000&loginTimeout=30
username: dcms_dev
password: sdy@2025#dc$ks
driver-class-name: com.kingbase8.Driver

85
smart-flow-api/sa-base/src/main/resources/mapper/rights/PoliceEventMapper.xml

@ -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>

2
smart-flow-web/src/router/routers.js

@ -12,6 +12,7 @@ import { homeRouters } from './system/home';
import { loginRouters } from './system/login';
import { flowRouters } from './flow/flow';
import { oaRouters } from './business/oa';
import { myxtRouters } from './business/myxt';
import { workBookRouters } from './support/work-book';
import NotFound from '/@/views/system/40X/404.vue';
import NoPrivilege from '/@/views/system/40X/403.vue';
@ -21,6 +22,7 @@ export const routerArray = [
...homeRouters,
...flowRouters,
...oaRouters,
...myxtRouters,
...workBookRouters,
{ path: '/:pathMatch(.*)*', name: '404', component: NotFound },
{ path: '/403', name: '403', component: NoPrivilege }

9
smart-flow-web/src/views/system/employee/components/employee-form-modal/index.vue

@ -64,9 +64,6 @@
<a-select-option v-for="item in roleList" :key="item.roleId" :title="item.roleName">{{ item.roleName }}</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="诉求办理" name="positionIdList" v-if="showPositionSelect">
<PositionSelect ref="positionSelect" width="100%" v-model:value="form.positionIdList" />
</a-form-item>
<a-form-item label="状态" name="disabledFlag">
<a-select v-model:value="form.disabledFlag" placeholder="请选择状态">
<a-select-option :value="0">启用</a-select-option>
@ -103,7 +100,6 @@
// ----------------------- / ---------------------
const visible = ref(false); //
const showPositionSelect = ref(false); //
const isEditMode = ref(false); //
const needConfirmRightsDefense = ref(false); //
//
@ -237,7 +233,6 @@
});
if (hasRightsDefenseRole) {
showPositionSelect.value = true;
// DOM
await nextTick();
if (!form.positionIdList || form.positionIdList.length === 0) {
@ -255,7 +250,6 @@
}
}
} else {
showPositionSelect.value = false;
form.positionIdList = undefined;
}
}
@ -284,9 +278,6 @@
positionIdList: [{
required: true,
validator: (rule, value) => {
if (showPositionSelect.value && (!value || value.length === 0)) {
return Promise.reject('维权办理人需要选择负责办理的诉求保障');
}
return Promise.resolve();
},
trigger: 'change'

Loading…
Cancel
Save