From a6c76f152503c344619726aa5bfb6a99efa5caca Mon Sep 17 00:00:00 2001
From: wxc <191104855@qq.com>
Date: Wed, 23 Oct 2024 19:22:09 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=BF=A1=E8=AE=BF?=
=?UTF-8?q?=E6=8A=95=E8=AF=89=E3=80=81=E6=A1=88=E4=BB=B6=E6=A0=B8=E6=9F=A5?=
=?UTF-8?q?=E5=AF=BC=E5=85=A5=20fit:=20=E9=97=AE=E9=A2=98=E4=B8=8B?=
=?UTF-8?q?=E5=8F=91=E6=B5=81=E7=A8=8BBUG=E4=BF=AE=E5=A4=8D=20fit:=20?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=97=AE=E9=A2=98=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../constants/enums/InitialPetition.java | 15 ++++++
.../controller/AuthController.java | 3 ++
.../data/DataCaseVerifController.java | 40 +++++++++++++-
.../data/DataPetitionComplaintController.java | 49 +++++++++++++++++-
.../controller/system/DepartController.java | 2 +-
.../controller/work/NegativeController.java | 6 ++-
.../flow/action/ApplyCompletionAction.java | 8 +--
.../flow/action/FirstApproveReturnAction.java | 13 +++--
.../supervision/flow/action/SaveAction.java | 8 +++
.../action/SecondApproveReturnAction.java | 13 +++--
.../biutag/supervision/pojo/domain/Blame.java | 2 +
.../pojo/dto/DataCaseVerifImportDto.java | 17 +++++-
.../dto/DataPetitionComplaintImportDto.java | 38 +++++++++++---
.../supervision/pojo/dto/flow/VerifyData.java | 4 ++
.../pojo/entity/NegativeBlame.java | 3 ++
.../pojo/model/NegativeWorkModel.java | 3 ++
.../service/NegativeFileService.java | 15 ++++++
.../supervision/service/NegativeService.java | 25 ++++++++-
.../supervision/service/SupDepartService.java | 19 +++++++
.../resources/mapper/NegativeWorkMapper.xml | 2 +-
.../信访投诉数据台账(模板).xlsx | Bin 10632 -> 10602 bytes
.../案件核查问题台账(模板).xlsx | Bin 14156 -> 14335 bytes
22 files changed, 257 insertions(+), 28 deletions(-)
diff --git a/src/main/java/com/biutag/supervision/constants/enums/InitialPetition.java b/src/main/java/com/biutag/supervision/constants/enums/InitialPetition.java
index e958976..8de6cca 100644
--- a/src/main/java/com/biutag/supervision/constants/enums/InitialPetition.java
+++ b/src/main/java/com/biutag/supervision/constants/enums/InitialPetition.java
@@ -20,4 +20,19 @@ public enum InitialPetition {
public String label;
+ public static String getValue(String str) {
+ if ("初".equals(str)) {
+ return THE_FIRST.getValue();
+ }
+ if ("重".equals(str)) {
+ return REPEAT.getValue();
+ }
+ for (InitialPetition value : values()) {
+ if (value.getLabel().equals(str)) {
+ return value.getValue();
+ }
+ }
+ return null;
+ }
+
}
\ No newline at end of file
diff --git a/src/main/java/com/biutag/supervision/controller/AuthController.java b/src/main/java/com/biutag/supervision/controller/AuthController.java
index 55b570b..695e60b 100644
--- a/src/main/java/com/biutag/supervision/controller/AuthController.java
+++ b/src/main/java/com/biutag/supervision/controller/AuthController.java
@@ -67,6 +67,9 @@ public class AuthController {
redisTemplate.opsForValue().set(String.format(RedisKeyConstants.LOGIN_USERINFO_KEY, authorization), user, 24, TimeUnit.HOURS);
}
}
+ if (Objects.isNull(user)) {
+ throw new AuthException();
+ }
boolean superFlag = AppConstants.USER_TYPE_SUPER.equals(user.getUserType());
List