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
150f1b0a
Commit
150f1b0a
authored
Jan 17, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-含风险项目商险不购买申请提交
parent
085848f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TInsuranceUnpurchaseApplyServiceImpl.java
...ry/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
+4
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
View file @
150f1b0a
...
@@ -90,6 +90,10 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
...
@@ -90,6 +90,10 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
public
R
deleteById
(
String
id
)
{
public
R
deleteById
(
String
id
)
{
TInsuranceUnpurchaseApply
apply
=
baseMapper
.
selectById
(
id
);
TInsuranceUnpurchaseApply
apply
=
baseMapper
.
selectById
(
id
);
if
(
Common
.
isNotNull
(
apply
))
{
if
(
Common
.
isNotNull
(
apply
))
{
if
(!
CommonConstants
.
FOUR_STRING
.
equals
(
apply
.
getStatus
())
&&
!
CommonConstants
.
ZERO_STRING
.
equals
(
apply
.
getStatus
()))
{
return
R
.
failed
(
"数据状态发生改变,不能删除"
);
}
baseMapper
.
deleteById
(
apply
);
baseMapper
.
deleteById
(
apply
);
personService
.
remove
(
Wrappers
.<
TInsuranceUnpurchasePerson
>
query
().
lambda
().
eq
(
TInsuranceUnpurchasePerson:
:
getParnetId
,
id
));
personService
.
remove
(
Wrappers
.<
TInsuranceUnpurchasePerson
>
query
().
lambda
().
eq
(
TInsuranceUnpurchasePerson:
:
getParnetId
,
id
));
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