Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 57094941
authored
Jan 15, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
202601月中版本 招聘管理:异常码调整
1 parent
5e9e1ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
View file @
5709494
...
@@ -538,7 +538,7 @@ public class RecruitmentDemandService {
...
@@ -538,7 +538,7 @@ public class RecruitmentDemandService {
RecruitmentDemand
currentDemand
=
recruitmentDemandMapper
.
selectByPrimaryKey
(
dto
.
getId
());
RecruitmentDemand
currentDemand
=
recruitmentDemandMapper
.
selectByPrimaryKey
(
dto
.
getId
());
if
(
currentDemand
==
null
)
{
if
(
currentDemand
==
null
)
{
log
.
error
(
"招聘需求不存在,id:{}"
,
dto
.
getId
());
log
.
error
(
"招聘需求不存在,id:{}"
,
dto
.
getId
());
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVICE
_ERROR
,
"招聘需求不存在"
);
throw
new
RpcServiceException
(
RpcErrorEnum
.
BUSINESS
_ERROR
,
"招聘需求不存在"
);
}
}
RecruitmentDemandDTO
updateDTO
=
new
RecruitmentDemandDTO
();
RecruitmentDemandDTO
updateDTO
=
new
RecruitmentDemandDTO
();
...
@@ -554,7 +554,7 @@ public class RecruitmentDemandService {
...
@@ -554,7 +554,7 @@ public class RecruitmentDemandService {
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
CONFIRM
.
getValue
();
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
CONFIRM
.
getValue
();
}
else
{
}
else
{
log
.
error
(
"数据状态已变更 currentStatus:{}"
,
currentStatus
);
log
.
error
(
"数据状态已变更 currentStatus:{}"
,
currentStatus
);
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVICE
_ERROR
,
"需求状态已过期,请确认后重新操作。"
);
throw
new
RpcServiceException
(
RpcErrorEnum
.
BUSINESS
_ERROR
,
"需求状态已过期,请确认后重新操作。"
);
}
}
}
else
if
(
status
.
compareTo
(
RecruitmentDemandStatusEnum
.
COMPLETED
.
getValue
())
==
0
)
{
}
else
if
(
status
.
compareTo
(
RecruitmentDemandStatusEnum
.
COMPLETED
.
getValue
())
==
0
)
{
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
FINISH
.
getValue
();
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
FINISH
.
getValue
();
...
@@ -562,13 +562,13 @@ public class RecruitmentDemandService {
...
@@ -562,13 +562,13 @@ public class RecruitmentDemandService {
if
(!
Objects
.
equals
(
currentStatus
,
RecruitmentDemandStatusEnum
.
WAIT_HUMAN_CONFIRM
.
getValue
())
if
(!
Objects
.
equals
(
currentStatus
,
RecruitmentDemandStatusEnum
.
WAIT_HUMAN_CONFIRM
.
getValue
())
&&
!
Objects
.
equals
(
currentStatus
,
RecruitmentDemandStatusEnum
.
WAIT_SUPERVISOR_CONFIRM
.
getValue
()))
{
&&
!
Objects
.
equals
(
currentStatus
,
RecruitmentDemandStatusEnum
.
WAIT_SUPERVISOR_CONFIRM
.
getValue
()))
{
log
.
error
(
"数据状态已变更 currentStatus:{}"
,
currentStatus
);
log
.
error
(
"数据状态已变更 currentStatus:{}"
,
currentStatus
);
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVICE
_ERROR
,
"需求状态已过期,请确认后重新操作。"
);
throw
new
RpcServiceException
(
RpcErrorEnum
.
BUSINESS
_ERROR
,
"需求状态已过期,请确认后重新操作。"
);
}
}
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
REJECT
.
getValue
();
operationType
=
RecruitmentDemandLogOperationTypeEnum
.
REJECT
.
getValue
();
}
else
{
}
else
{
log
.
error
(
"状态值非法 status:{}"
,
status
);
log
.
error
(
"状态值非法 status:{}"
,
status
);
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVICE
_ERROR
,
"状态值非法"
);
throw
new
RpcServiceException
(
RpcErrorEnum
.
BUSINESS
_ERROR
,
"状态值非法"
);
}
}
updateDTO
.
setStatus
(
status
);
updateDTO
.
setStatus
(
status
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment