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
8fe02d04
Commit
8fe02d04
authored
Nov 10, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-licancan' into 'develop'
Feature licancan See merge request
!268
parents
52522312
cc48338d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
yifu-insurances-deployment.yaml
k8s-bash-test/yifu-insurances-deployment.yaml
+1
-1
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+4
-4
No files found.
k8s-bash-test/yifu-insurances-deployment.yaml
View file @
8fe02d04
...
...
@@ -63,7 +63,7 @@ spec: # 资源规范字段
#cpu: 300m # CPU,1核心 = 1000m
requests
:
# 容器运行时,最低资源需求,也就是说最少需要多少资源容器才能正常运行
#cpu: 100m
memory
:
"
1024
Mi"
memory
:
"
500
Mi"
#livenessProbe: # pod 内部健康检查的设置
# httpGet: # 通过httpget检查健康,返回200-399之间,则认为容器正常
# path: /healthCheck # URI地址
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
8fe02d04
...
...
@@ -3377,7 +3377,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
List
<
InsuredListVo
>
insuredList
;
insuredList
=
this
.
baseMapper
.
getInsuredList
(
param
);
if
(
CollectionUtils
.
isNotEmpty
(
insuredList
)){
/*
if (CollectionUtils.isNotEmpty(insuredList)){
//根据项目编码获取项目名称
List<String> collect = insuredList.stream().map(InsuredListVo::getDeptNo).distinct().collect(Collectors.toList());
try{
...
...
@@ -3400,7 +3400,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
record.setProjectName(CommonConstants.EMPTY_STRING);
}
}
}
}
*/
//处理导出
String
fileName
=
"商险已投保人员名册"
+
DateUtil
.
getThisTime
()
+
CommonConstants
.
XLSX
;
long
count
=
insuredList
.
size
();
...
...
@@ -3429,7 +3429,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
}
if
(
Common
.
isNotNull
(
insuredList
)){
writeSheet
=
EasyExcel
.
writerSheet
(
"sheet"
).
build
();
writeSheet
=
EasyExcel
.
writerSheet
(
"sheet"
+
index
).
build
();
excelWriter
.
write
(
insuredList
,
writeSheet
);
index
++;
}
...
...
@@ -3439,7 +3439,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"sheet"
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"sheet"
+
index
).
build
();
excelWriter
.
write
(
insuredList
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
insuredList
)){
...
...
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