Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
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
86e13883
Commit
86e13883
authored
May 23, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-商险自动化逻辑调整
parent
db36e50e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
EmployeeRegistrationPreServiceImpl.java
...ives/service/impl/EmployeeRegistrationPreServiceImpl.java
+7
-8
EmployeeRegistrationServiceImpl.java
.../v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
+7
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java
View file @
86e13883
...
@@ -488,8 +488,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -488,8 +488,6 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
}
}
}
}
// 检查附件ID列表是否不为空、更新附件
if
(
Common
.
isNotNull
(
employeeRegistrationPre
.
getAttaIdList
()))
{
// 创建更新条件构造器
// 创建更新条件构造器
LambdaUpdateWrapper
<
TAttaInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
TAttaInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
// 设置更新条件和新值
// 设置更新条件和新值
...
@@ -497,7 +495,8 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -497,7 +495,8 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
.
set
(
TAttaInfo:
:
getDomainId
,
CommonConstants
.
EMPTY_STRING
);
.
set
(
TAttaInfo:
:
getDomainId
,
CommonConstants
.
EMPTY_STRING
);
// 执行更新操作,清空附件的域名ID
// 执行更新操作,清空附件的域名ID
attaInfoService
.
update
(
updateWrapper
);
attaInfoService
.
update
(
updateWrapper
);
// 检查附件ID列表是否不为空、更新附件
if
(
Common
.
isNotNull
(
employeeRegistrationPre
.
getAttaIdList
()))
{
// 遍历员工注册记录中的附件ID列表
// 遍历员工注册记录中的附件ID列表
TAttaInfo
atta
;
TAttaInfo
atta
;
for
(
String
attaId
:
employeeRegistrationPre
.
getAttaIdList
())
{
for
(
String
attaId
:
employeeRegistrationPre
.
getAttaIdList
())
{
...
...
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
View file @
86e13883
...
@@ -1458,8 +1458,6 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
...
@@ -1458,8 +1458,6 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
* @param registration 员工注册对象,包含附件ID列表
* @param registration 员工注册对象,包含附件ID列表
*/
*/
private
void
updateFileId
(
EmployeeRegistration
registration
)
{
private
void
updateFileId
(
EmployeeRegistration
registration
)
{
// 检查附件ID列表是否不为空
if
(
Common
.
isNotNull
(
registration
.
getAttaIdList
())
&&
!
registration
.
getAttaIdList
().
isEmpty
())
{
// 创建更新条件构造器
// 创建更新条件构造器
LambdaUpdateWrapper
<
TCspAttaInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
TCspAttaInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
// 设置更新条件和新值
// 设置更新条件和新值
...
@@ -1467,7 +1465,8 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
...
@@ -1467,7 +1465,8 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
.
set
(
TCspAttaInfo:
:
getDomainId
,
CommonConstants
.
EMPTY_STRING
);
.
set
(
TCspAttaInfo:
:
getDomainId
,
CommonConstants
.
EMPTY_STRING
);
// 执行更新操作,清空附件的域名ID
// 执行更新操作,清空附件的域名ID
tAttaInfoService
.
update
(
updateWrapper
);
tAttaInfoService
.
update
(
updateWrapper
);
// 检查附件ID列表是否不为空
if
(
Common
.
isNotNull
(
registration
.
getAttaIdList
())
&&
!
registration
.
getAttaIdList
().
isEmpty
())
{
// 遍历员工注册记录中的附件ID列表
// 遍历员工注册记录中的附件ID列表
TCspAttaInfo
atta
;
TCspAttaInfo
atta
;
for
(
String
id
:
registration
.
getAttaIdList
())
{
for
(
String
id
:
registration
.
getAttaIdList
())
{
...
...
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