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
4444cad9
Commit
4444cad9
authored
Aug 23, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"feature-zhaJi:优化减员办理时的提示语句"
parent
087a341f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+7
-5
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+18
-2
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
View file @
4444cad9
...
...
@@ -810,7 +810,7 @@ public class InsurancesConstants {
/**
* 减员退回的办理意见不能为空
*/
public
static
final
String
REFUND_MESSAGE_IS_EMPTY
=
"
减员退回的办理
意见不能为空"
;
public
static
final
String
REFUND_MESSAGE_IS_EMPTY
=
"
办理失败
意见不能为空"
;
/**
* 该保单信息已被更新为减员退回
...
...
@@ -844,12 +844,12 @@ public class InsurancesConstants {
/**
* 办理结果类型错误
*/
public
static
final
String
HAND_RESULT_ERROR
=
"办理结果
类型错误
"
;
public
static
final
String
HAND_RESULT_ERROR
=
"办理结果
请填写成功或者失败
"
;
/**
* 办理结果为空
*/
public
static
final
String
HAND_RESULT_IS_EMPTY
=
"办理结果为空"
;
public
static
final
String
HAND_RESULT_IS_EMPTY
=
"办理结果
不能
为空"
;
/**
* 无该条数据的操作权限
...
...
@@ -885,8 +885,10 @@ public class InsurancesConstants {
*/
public
static
final
String
REFUND_STATUS_FOUR_HANDLE_ERROR
=
"当前为减员退回状态,不可办理"
;
/**
* 办理意见长度超过50字符限制
*/
public
static
final
String
HAND_REMARK_NOT_MORE_THAN_50
=
"办理意见长度超过50字符限制"
;
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
4444cad9
...
...
@@ -4146,6 +4146,11 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
errorList
.
add
(
param
);
continue
;
}
if
(
StringUtils
.
isNotBlank
(
remark
)
&&
ValidityUtil
.
validate50
(
remark
)){
param
.
setErrorMessage
(
InsurancesConstants
.
HAND_REMARK_NOT_MORE_THAN_50
);
errorList
.
add
(
param
);
continue
;
}
//员工姓名
String
empName
=
param
.
getEmpName
();
if
(
StringUtils
.
isBlank
(
empName
)){
...
...
@@ -4289,10 +4294,21 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
}
param
.
setId
(
detailId
);
boolean
b
=
successList
.
stream
().
anyMatch
(
u
->
u
.
getEmpName
().
equals
(
param
.
getEmpName
())
&&
u
.
getEmpIdcardNo
().
equals
(
param
.
getEmpIdcardNo
())
&&
u
.
getInsuranceCompanyName
().
equals
(
param
.
getInsuranceCompanyName
())
&&
u
.
getInsuranceTypeName
().
equals
(
param
.
getInsuranceTypeName
())
&&
u
.
getPolicyStart
().
equals
(
param
.
getPolicyStart
())
&&
u
.
getPolicyEnd
().
equals
(
param
.
getPolicyEnd
())
&&
u
.
getBuyStandard
().
equals
(
param
.
getBuyStandard
())
);
if
(!
b
){
successList
.
add
(
param
);
}
map
.
put
(
"errorList"
,
errorList
);
}
map
.
put
(
"successList"
,
successList
);
map
.
put
(
"errorList"
,
errorList
);
return
map
;
}
...
...
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