From 09b28dc1ded086a78b5146e2e6f6cc2338b22e11 Mon Sep 17 00:00:00 2001
From: mg <maokecheng@163.com>
Date: 星期三, 12 十月 2022 18:21:59 +0800
Subject: [PATCH] 修改状态
---
ycl-platform/src/main/java/com/ycl/entity/caseHandler/PartyInfo.java | 4 ++--
ycl-platform/src/main/java/com/ycl/controller/caseHandler/DispatchHandleController.java | 9 +--------
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/controller/caseHandler/DispatchHandleController.java b/ycl-platform/src/main/java/com/ycl/controller/caseHandler/DispatchHandleController.java
index 96244c8..0a48e39 100644
--- a/ycl-platform/src/main/java/com/ycl/controller/caseHandler/DispatchHandleController.java
+++ b/ycl-platform/src/main/java/com/ycl/controller/caseHandler/DispatchHandleController.java
@@ -63,13 +63,6 @@
@RequestParam Integer type,
@RequestBody UploadDisposingResultParam uploadDisposingResultParam) {
AdminUserDetails user = (AdminUserDetails) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
-
- //淇敼妗堜欢鐘舵�佷负澶勭疆
- BaseCase baseCase = new BaseCase();
- baseCase.setId(caseId);
- baseCase.setState(BaseCaseStatus.DISPOSE);
- baseCaseService.updateById(baseCase);
-
//褰撲簨浜�
PartyInfo partyInfo = new PartyInfo();
BeanUtils.copyProperties(uploadDisposingResultParam, partyInfo);
@@ -102,7 +95,7 @@
writ.setCreateUser(user.getUserId().longValue());
iWritService.save(writ);
}
- baseCaseService.update(new LambdaUpdateWrapper<BaseCase>().eq(BaseCase::getId, caseId).set(BaseCase::getState, BaseCaseStatus.CHECK));
+ baseCaseService.update(new LambdaUpdateWrapper<BaseCase>().eq(BaseCase::getId, caseId).set(BaseCase::getState, BaseCaseStatus.DISPOSE));
DisposeRecord disposeRecord = new DisposeRecord();
disposeRecord.setBaseCaseId(caseId);
disposeRecord.setState(0);
diff --git a/ycl-platform/src/main/java/com/ycl/entity/caseHandler/PartyInfo.java b/ycl-platform/src/main/java/com/ycl/entity/caseHandler/PartyInfo.java
index f13a390..5525609 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/caseHandler/PartyInfo.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/caseHandler/PartyInfo.java
@@ -56,7 +56,7 @@
* 鏂囧寲绋嬪害
*/
@TableField("education_degree")
- private String educationDegree;
+ private Integer educationDegree;
/**
* 鑱屼笟
@@ -74,7 +74,7 @@
* 姘戞棌
*/
@TableField("nation")
- private String nation;
+ private Integer nation;
/**
* 绫嶈疮
--
Gitblit v1.8.0