Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
ee925cd0
You need to sign in or sign up before continuing.
Commit
ee925cd0
authored
Mar 27, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入职登记提交
parent
b8aff9a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
EmployeeRegistrationPreServiceImpl.java
...ives/service/impl/EmployeeRegistrationPreServiceImpl.java
+6
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java
View file @
ee925cd0
...
@@ -388,7 +388,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -388,7 +388,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
@Override
@Override
public
R
batchSendMessage
(
List
<
SendMessageUpdateVo
>
voList
,
String
type
)
{
public
R
batchSendMessage
(
List
<
SendMessageUpdateVo
>
voList
,
String
type
)
{
//获取短信待发放和信息待填写的数据
//获取短信待发放和信息待填写的数据
List
<
String
>
errorList
=
new
ArrayList
<>();
if
(
CommonConstants
.
ONE_STRING
.
equals
(
type
))
{
if
(
CommonConstants
.
ONE_STRING
.
equals
(
type
))
{
for
(
SendMessageUpdateVo
updateVo:
voList
)
{
for
(
SendMessageUpdateVo
updateVo:
voList
)
{
RegistParamVo
paramVo
=
new
RegistParamVo
();
RegistParamVo
paramVo
=
new
RegistParamVo
();
...
@@ -428,6 +428,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -428,6 +428,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
}
else
{
}
else
{
smsEmployee
.
setMessage
(
"短信发送失败"
);
smsEmployee
.
setMessage
(
"短信发送失败"
);
employeeService
.
updateById
(
smsEmployee
);
employeeService
.
updateById
(
smsEmployee
);
errorList
.
add
(
"短信发送失败"
);
}
}
}
}
}
}
...
@@ -476,10 +477,14 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -476,10 +477,14 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
}
else
{
}
else
{
smsEmployee
.
setMessage
(
"短信发送失败"
);
smsEmployee
.
setMessage
(
"短信发送失败"
);
employeeService
.
updateById
(
smsEmployee
);
employeeService
.
updateById
(
smsEmployee
);
errorList
.
add
(
"短信发送失败"
);
}
}
}
}
}
}
}
}
if
(!
errorList
.
isEmpty
()
&&
errorList
.
stream
().
allMatch
(
e
->
e
.
equals
(
"短信发送失败"
)))
{
return
R
.
ok
(
"短信发送失败"
);
}
return
R
.
ok
(
"短信发送成功"
);
return
R
.
ok
(
"短信发送成功"
);
}
}
...
...
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