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
73dda337
Commit
73dda337
authored
Sep 28, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商险自动化限制:新增、批增、替换-fxj
parent
9291fd13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
TInsurancePolicyServiceImpl.java
...s/service/insurance/impl/TInsurancePolicyServiceImpl.java
+9
-4
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsurancePolicyServiceImpl.java
View file @
73dda337
...
@@ -314,11 +314,16 @@ public class TInsurancePolicyServiceImpl extends ServiceImpl<TInsurancePolicyMap
...
@@ -314,11 +314,16 @@ public class TInsurancePolicyServiceImpl extends ServiceImpl<TInsurancePolicyMap
if
(
null
==
type
){
if
(
null
==
type
){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的险种名称未找到,未导入"
,
excel
));
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的险种名称未找到,未导入"
,
excel
));
continue
;
continue
;
}
else
{
type
=
typeMapper
.
selectOne
(
Wrappers
.<
TInsuranceType
>
query
().
lambda
()
.
eq
(
TInsuranceType:
:
getName
,
excel
.
getInsuranceTypeName
())
.
eq
(
TInsuranceType:
:
getInsuranceCompanyId
,
company
.
getId
()).
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
null
!=
type
){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的险种与保险公司不一致,未导入"
,
excel
));
continue
;
}
}
}
if
(!
type
.
getInsuranceCompanyId
().
equals
(
company
.
getId
())){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的险种与保险公司不一致,未导入"
,
excel
));
continue
;
}
if
(
LocalDateUtil
.
parseLocalDate
(
excel
.
getPolicyStart
())
==
null
){
if
(
LocalDateUtil
.
parseLocalDate
(
excel
.
getPolicyStart
())
==
null
){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的保单开始时间格式错误,未导入"
,
excel
));
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
"保单号【"
+
excel
.
getPolicyNo
()
+
"】的保单开始时间格式错误,未导入"
,
excel
));
continue
;
continue
;
...
...
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