Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
an-plus-hr
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
anjia-hr
an-plus-hr
Commits
3f6786ac
Commit
3f6786ac
authored
Dec 16, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 编制计划记录,修改导入备注
parent
7bca886f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StaffingPlanRecordsCtrl.java
...ava/com/anplus/hr/controller/StaffingPlanRecordsCtrl.java
+1
-1
StaffingPlanDataImportVo.java
...ava/com/anplus/hr/domain/vo/StaffingPlanDataImportVo.java
+1
-1
No files found.
admin/src/main/java/com/anplus/hr/controller/StaffingPlanRecordsCtrl.java
View file @
3f6786ac
...
@@ -90,7 +90,7 @@ public class StaffingPlanRecordsCtrl {
...
@@ -90,7 +90,7 @@ public class StaffingPlanRecordsCtrl {
@PutMapping
()
@PutMapping
()
public
Response
edit
(
@Validated
(
EditGroup
.
class
)
@RequestBody
StaffingPlanRecordsParam
param
)
{
public
Response
edit
(
@Validated
(
EditGroup
.
class
)
@RequestBody
StaffingPlanRecordsParam
param
)
{
if
(!
staffingPlanRecordsServ
.
checkRecordDateUnique
(
param
))
{
if
(!
staffingPlanRecordsServ
.
checkRecordDateUnique
(
param
))
{
return
Response
.
buildFailure
(
ResultCode
.
FAIL
.
getCode
(),
"
新增
编制规划'"
+
param
.
getRecordDate
()
+
"'失败,记录时间已存在"
);
return
Response
.
buildFailure
(
ResultCode
.
FAIL
.
getCode
(),
"
修改
编制规划'"
+
param
.
getRecordDate
()
+
"'失败,记录时间已存在"
);
}
}
return
ResponseUtils
.
ofResult
(
staffingPlanRecordsServ
.
updateByParam
(
param
));
return
ResponseUtils
.
ofResult
(
staffingPlanRecordsServ
.
updateByParam
(
param
));
}
}
...
...
admin/src/main/java/com/anplus/hr/domain/vo/StaffingPlanDataImportVo.java
View file @
3f6786ac
...
@@ -381,7 +381,7 @@ public class StaffingPlanDataImportVo extends ExcelBaseEntity implements Seriali
...
@@ -381,7 +381,7 @@ public class StaffingPlanDataImportVo extends ExcelBaseEntity implements Seriali
/**
/**
* 备注
* 备注
*/
*/
@ExcelProperty
(
index
=
59
)
@ExcelProperty
(
index
=
35
)
private
String
remark
;
private
String
remark
;
public
void
setPlate
(
String
plate
)
{
public
void
setPlate
(
String
plate
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment