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
e9fccd06
Commit
e9fccd06
authored
Nov 18, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.17-商险续签待办3
parent
22481684
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
10 deletions
+35
-10
TInsuranceWarnMapper.java
...fu/insurances/mapper/insurances/TInsuranceWarnMapper.java
+2
-0
TInsurancePreRenewDetailServiceImpl.java
...e/insurance/impl/TInsurancePreRenewDetailServiceImpl.java
+9
-9
TInsurancePreRenewDetailMapper.xml
...rces/mapper/insurances/TInsurancePreRenewDetailMapper.xml
+9
-1
TInsuranceWarnMapper.xml
...main/resources/mapper/insurances/TInsuranceWarnMapper.xml
+15
-0
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/insurances/TInsuranceWarnMapper.java
View file @
e9fccd06
...
...
@@ -43,6 +43,8 @@ public interface TInsuranceWarnMapper extends BaseMapper<TInsuranceAlert> {
// 查找ID与状态,用作忽略等
List
<
TInsuranceAlert
>
selectInsuranceAlertList
(
@Param
(
"idList"
)
List
<
String
>
idList
);
// 查找ID与状态,用作确认等(与忽略不同的地方:返回的ID不同,更新不同的表数据
List
<
TInsuranceAlert
>
selectInsuranceAlertListBySure
(
@Param
(
"idList"
)
List
<
String
>
idList
);
TInsuranceAlert
selectInsuranceAlertOne
(
@Param
(
"id"
)
String
id
);
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsurancePreRenewDetailServiceImpl.java
View file @
e9fccd06
...
...
@@ -147,7 +147,7 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
}
// 先查再更新
List
<
TInsuranceAlert
>
alertList
=
tInsuranceWarnMapper
.
selectInsuranceAlertList
(
ids
);
List
<
TInsuranceAlert
>
alertList
=
tInsuranceWarnMapper
.
selectInsuranceAlertList
BySure
(
ids
);
if
(
alertList
!=
null
&&
!
alertList
.
isEmpty
())
{
List
<
String
>
successList
=
new
ArrayList
<>();
Map
<
String
,
TInsuranceAlert
>
alertMap
=
new
HashMap
<>();
...
...
@@ -389,8 +389,8 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
Map
<
String
,
String
>
errorMessageMap
=
new
HashMap
<>();
for
(
InsuranceAutoParam
info
:
autoAddParamList
)
{
autoAddParamSet
.
add
(
info
.
getInsurancePreId
());
errorMessageMap
.
put
(
info
.
getInsurancePreId
(),
info
.
getErrorMessage
());
autoAddParamSet
.
add
(
info
.
getInsurancePre
Renew
Id
());
errorMessageMap
.
put
(
info
.
getInsurancePre
Renew
Id
(),
info
.
getErrorMessage
());
}
Map
<
String
,
Set
<
String
>>
deptNumMap
=
new
HashMap
<>();
...
...
@@ -540,13 +540,13 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
private
List
<
InsuranceAutoParam
>
getInsuranceAutoParamList
(
List
<
InsuranceAddParam
>
addParamList
,
List
<
InsuranceBatchParam
>
batchParamList
,
List
<
InsuranceReplaceParam
>
replaceParamList
)
{
if
(
addParamList
!
=
null
)
{
if
(
addParamList
=
=
null
)
{
addParamList
=
new
ArrayList
<>();
}
if
(
batchParamList
!
=
null
)
{
if
(
batchParamList
=
=
null
)
{
batchParamList
=
new
ArrayList
<>();
}
if
(
replaceParamList
!
=
null
)
{
if
(
replaceParamList
=
=
null
)
{
replaceParamList
=
new
ArrayList
<>();
}
// 使用Stream合并三个列表
...
...
@@ -576,7 +576,7 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
autoParam
.
setPost
(
addParam
.
getPost
());
autoParam
.
setRemark
(
addParam
.
getRemark
());
autoParam
.
setErrorMessage
(
addParam
.
getErrorMessage
());
autoParam
.
setInsurancePreRenewId
(
addParam
.
getInsurancePreId
());
autoParam
.
setInsurancePreRenewId
(
addParam
.
getInsurancePre
Renew
Id
());
autoParam
.
setCustomerUserName
(
addParam
.
getCustomerUserName
());
autoParam
.
setIsExit
(
addParam
.
getIsExit
());
autoParam
.
setDeptName
(
addParam
.
getDeptName
());
...
...
@@ -601,7 +601,7 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
autoParam
.
setPost
(
batchParam
.
getPost
());
autoParam
.
setRemark
(
batchParam
.
getRemark
());
autoParam
.
setErrorMessage
(
batchParam
.
getErrorMessage
());
autoParam
.
setInsurancePreRenewId
(
batchParam
.
getInsurancePreId
());
autoParam
.
setInsurancePreRenewId
(
batchParam
.
getInsurancePre
Renew
Id
());
autoParam
.
setCustomerUserName
(
batchParam
.
getCustomerUserName
());
autoParam
.
setIsExit
(
batchParam
.
getIsExit
());
autoParam
.
setDeptName
(
batchParam
.
getDeptName
());
...
...
@@ -628,7 +628,7 @@ public class TInsurancePreRenewDetailServiceImpl extends ServiceImpl<TInsuranceP
autoParam
.
setReplaceDeptNo
(
replaceParam
.
getReplaceDeptNo
());
autoParam
.
setReplaceEmpIdcardNo
(
replaceParam
.
getReplaceEmpIdcardNo
());
autoParam
.
setErrorMessage
(
replaceParam
.
getErrorMessage
());
autoParam
.
setInsurancePreRenewId
(
replaceParam
.
getInsurancePreId
());
autoParam
.
setInsurancePreRenewId
(
replaceParam
.
getInsurancePre
Renew
Id
());
autoParam
.
setCustomerUserName
(
replaceParam
.
getCustomerUserName
());
autoParam
.
setIsExit
(
replaceParam
.
getIsExit
());
autoParam
.
setDeptName
(
replaceParam
.
getDeptName
());
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsurancePreRenewDetailMapper.xml
View file @
e9fccd06
...
...
@@ -265,7 +265,15 @@
<where>
b.EXPIRE_IGNORE_FLAG = '1' and b.DELETE_FLAG=0 and a.is_leave = '0' and b.IS_OVERDUE = 0
AND a.process_status in ('1','2','5')
<include
refid=
"tInsurancePreRenewDetail_where"
/>
<if
test=
"idList != null and idList.size() > 0"
>
and a.id in
<foreach
collection=
"idList"
item=
"param"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{param}
</foreach>
</if>
<if
test=
"idList == null or idList.size() == 0"
>
and a.id = '-1'
</if>
</where>
order by b.POLICY_END asc,b.id asc
</select>
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceWarnMapper.xml
View file @
e9fccd06
...
...
@@ -500,6 +500,21 @@
</if>
</select>
<select
id=
"selectInsuranceAlertListBySure"
resultMap=
"BaseResultMap"
>
SELECT
b.ID,
b.process_status
FROM t_insurance_alert a
JOIN t_insurance_pre_renew_detail b ON a.INSURANCES_PRE_RENEW_DETAIL_ID = b.ID
where a.EXPIRE_IGNORE_FLAG = '1' and a.DELETE_FLAG=0 and b.is_leave = '0' and a.IS_OVERDUE = 0
<if
test=
"idList != null"
>
AND b.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
</foreach>
</if>
</select>
<select
id=
"selectInsuranceAlertOne"
resultMap=
"BaseResultMap"
>
SELECT
a.ID,
...
...
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