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
db5ee4d8
Commit
db5ee4d8
authored
Jan 20, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-含风险项目商险不购买申请提交
parent
1026cca4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
TInsuranceUnpurchaseApplyServiceImpl.java
...ry/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
+9
-1
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
View file @
db5ee4d8
...
...
@@ -181,6 +181,13 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
}
try
{
if
(
Common
.
isNotNull
(
requestId
))
{
if
(
Common
.
isNotNull
(
tInsuranceUnpurchaseApply
.
getId
()))
{
TInsuranceUnpurchaseApply
apply
=
baseMapper
.
selectById
(
tInsuranceUnpurchaseApply
.
getId
());
if
(
Common
.
isNotNull
(
apply
)
&&
!
CommonConstants
.
ZERO_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
())
&&
!
CommonConstants
.
ONE_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
()))
{
return
R
.
failed
(
"当前数据已被提交!"
);
}
}
//字段长度校验
if
(
Common
.
isNotNull
(
tInsuranceUnpurchaseApply
.
getReasonInfo
())
&&
tInsuranceUnpurchaseApply
.
getReasonInfo
().
length
()
>
200
)
{
return
R
.
failed
(
"原因说明不能超过两百个字符"
);
...
...
@@ -220,7 +227,8 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
}
else
if
(
CommonConstants
.
TWO_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getSaveFlag
()))
{
TInsuranceUnpurchaseApply
apply
=
baseMapper
.
selectById
(
tInsuranceUnpurchaseApply
.
getId
());
if
(
Common
.
isNotNull
(
apply
)
&&
(
CommonConstants
.
TWO_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
())
||
CommonConstants
.
THREE_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
())))
{
CommonConstants
.
THREE_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
()))
||
CommonConstants
.
FOUR_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getStatus
()))
{
return
R
.
failed
(
"当前数据已被提交!"
);
}
...
...
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