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
1485c70e
Commit
1485c70e
authored
May 10, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失败原因配置
parent
1b376523
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
0 deletions
+60
-0
InsuredListVo.java
.../yifu/cloud/plus/v1/yifu/insurances/vo/InsuredListVo.java
+39
-0
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+18
-0
SysHouseHoldInfoMapper.xml
...-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
+3
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuredListVo.java
View file @
1485c70e
...
...
@@ -329,4 +329,43 @@ public class InsuredListVo implements Serializable {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"封面抬头"
)
private
String
invoiceTitle
;
/**
* 被替换人姓名
*/
@Schema
(
description
=
"被替换人姓名"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"被替换人姓名"
)
private
String
coverEmpName
;
/**
* 被替换人身份证号
*/
@Schema
(
description
=
"被替换人身份证号)"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"被替换人身份证号"
)
private
String
coverEmpIdcardNo
;
/**
* 被替换人项目名称
*/
@Schema
(
description
=
"被替换人项目名称"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"被替换人项目名称"
)
private
String
coverProjectName
;
/**
* 被替换人封面抬头
*/
@Schema
(
description
=
"被替换人封面抬头"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"被替换人封面抬头"
)
private
String
coverInvoiceTitle
;
/**
* 被替换人项目名称
*/
@Schema
(
description
=
"被替换人项目名称"
)
@ExcelIgnore
private
String
coverProjectNo
;
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
1485c70e
...
...
@@ -4461,7 +4461,25 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
util
=
new
ExcelUtil
<>(
InsuredListVo
.
class
);
TInsuranceReplace
one
;
TInsuranceDetail
byId
;
for
(
InsuredListVo
vo:
list
){
//被替换人
one
=
tInsuranceReplaceService
.
getOne
(
Wrappers
.<
TInsuranceReplace
>
query
().
lambda
()
.
eq
(
TInsuranceReplace:
:
getToInsuranceDetailId
,
vo
.
getId
())
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Optional
.
ofNullable
(
one
).
isPresent
())
{
byId
=
this
.
getById
(
one
.
getFromInsuranceDetailId
());
if
(
Optional
.
ofNullable
(
byId
).
isPresent
())
{
vo
.
setCoverEmpName
(
byId
.
getEmpName
());
vo
.
setCoverEmpIdcardNo
(
byId
.
getEmpIdcardNo
());
vo
.
setCoverProjectName
(
byId
.
getDeptName
());
ProjectSetInfoVo
coverObject
=
data
.
get
(
vo
.
getCoverProjectNo
());
if
(
null
!=
coverObject
)
{
vo
.
setCoverInvoiceTitle
(
Optional
.
ofNullable
(
coverObject
.
getInvoiceTitleInsurance
()).
orElse
(
""
));
}
}
}
//购买月数
vo
.
setBuyMonth
(
LocalDateUtil
.
betweenMonth
(
vo
.
getPolicyStart
().
toString
(),
vo
.
getPolicyEnd
().
toString
()));
if
(
Objects
.
nonNull
(
data
))
{
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
View file @
1485c70e
...
...
@@ -132,6 +132,9 @@
<if
test=
"sysHouseHoldInfo.createName != null and sysHouseHoldInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{sysHouseHoldInfo.createName}
</if>
<if
test=
"sysHouseHoldInfo.autoStatus != null and sysHouseHoldInfo.autoStatus.trim() != ''"
>
AND a.AUTO_STATUS = #{sysHouseHoldInfo.autoStatus}
</if>
<if
test=
"sysHouseHoldInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{sysHouseHoldInfo.updateTime}
</if>
...
...
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