From 9c02950486e2654149dcca932d944ccf1a29398e Mon Sep 17 00:00:00 2001
From: ty <1577900710@qq.com>
Date: Tue, 2 Jan 2024 15:49:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=81=E4=B9=A6=E7=AE=A1=E7=90=86=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../hzims/basic/entity/PersonManagemetEntity.java | 6 +--
.../controller/PresonManagementController.java | 8 +---
.../hzims/basic/mapper/PersonManagemetMapper.xml | 6 +--
.../basic/service/IImsPresonManagementService.java | 3 +-
.../service/impl/PresonManagementServiceImpl.java | 55 +++++++++++++---------
5 files changed, 43 insertions(+), 35 deletions(-)
diff --git a/hzims-service-api/basic-api/src/main/java/com/hnac/hzims/basic/entity/PersonManagemetEntity.java b/hzims-service-api/basic-api/src/main/java/com/hnac/hzims/basic/entity/PersonManagemetEntity.java
index 7dec2fa..44bb68f 100644
--- a/hzims-service-api/basic-api/src/main/java/com/hnac/hzims/basic/entity/PersonManagemetEntity.java
+++ b/hzims-service-api/basic-api/src/main/java/com/hnac/hzims/basic/entity/PersonManagemetEntity.java
@@ -9,6 +9,8 @@ import lombok.EqualsAndHashCode;
import org.springblade.core.mp.support.QueryField;
import org.springblade.core.tenant.mp.TenantEntity;
+import java.io.Serializable;
+
/**
* 实体类
@@ -18,9 +20,7 @@ import org.springblade.core.tenant.mp.TenantEntity;
@TableName("hzims_person_managemet")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "人员管理表", description = "人员管理表")
-public class PersonManagemetEntity extends TenantEntity {
-
- private static final long serialVersionUID = 1L;
+public class PersonManagemetEntity extends TenantEntity implements Serializable {
/**
* 用户ID
diff --git a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java
index c68768d..4c6f7ff 100644
--- a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java
+++ b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/controller/PresonManagementController.java
@@ -61,12 +61,8 @@ public class PresonManagementController extends BladeController {
@PostMapping ("/submit")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "增加", notes = "传入imsDutyClass")
- public R submit(@RequestBody PersonManagemetVo personManagemetVo) {
- Boolean submit = iImsPresonManagementService.submit(personManagemetVo);
- if (submit){
- return R.success("保存成功");
- }
- return R.fail("保存失败");
+ public R submit(@RequestBody PersonManagemetVo personManagemetVo) throws IllegalAccessException {
+ return iImsPresonManagementService.submit(personManagemetVo);
}
/**
diff --git a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml
index ca4e02d..e4c173b 100644
--- a/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml
+++ b/hzims-service/hzims-basic/src/main/java/com/hnac/hzims/basic/mapper/PersonManagemetMapper.xml
@@ -19,7 +19,7 @@
-
+
@@ -27,8 +27,8 @@