Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
0bc835f9
You need to sign in or sign up before continuing.
Commit
0bc835f9
authored
Jun 26, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
档案完整监控
parent
18f58d7a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
TCompleteMonitorVo.java
...fu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorVo.java
+2
-2
TCompleteMonitorServiceImpl.java
...fu/archives/service/impl/TCompleteMonitorServiceImpl.java
+3
-3
application.yml
...ives/yifu-archives-biz/src/main/resources/application.yml
+1
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorVo.java
View file @
0bc835f9
...
@@ -78,7 +78,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
...
@@ -78,7 +78,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
* 信息是否完整
* 信息是否完整
*/
*/
@Length
(
max
=
1
,
message
=
"信息是否完整 不能超过1 个字符"
)
@Length
(
max
=
1
,
message
=
"信息是否完整 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=
否,1=是
"
)
@ExcelAttribute
(
name
=
"信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=
是,1=否
"
)
@Schema
(
description
=
"信息是否完整"
)
@Schema
(
description
=
"信息是否完整"
)
@ExcelProperty
(
"信息是否完整"
)
@ExcelProperty
(
"信息是否完整"
)
private
String
isComplete
;
private
String
isComplete
;
...
@@ -112,7 +112,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
...
@@ -112,7 +112,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
* 6月及后入职信息是否完整
* 6月及后入职信息是否完整
*/
*/
@Length
(
max
=
1
,
message
=
"6月及后入职信息是否完整 不能超过1 个字符"
)
@Length
(
max
=
1
,
message
=
"6月及后入职信息是否完整 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"6月及后入职信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=
否,1=是
"
)
@ExcelAttribute
(
name
=
"6月及后入职信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=
是,1=否
"
)
@Schema
(
description
=
"6月及后入职信息是否完整"
)
@Schema
(
description
=
"6月及后入职信息是否完整"
)
@ExcelProperty
(
"6月及后入职信息是否完整"
)
@ExcelProperty
(
"6月及后入职信息是否完整"
)
private
String
afterIsComplete
;
private
String
afterIsComplete
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
View file @
0bc835f9
...
@@ -60,7 +60,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
...
@@ -60,7 +60,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
*/
*/
@Override
@Override
public
void
listExport
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
){
public
void
listExport
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
){
String
fileName
=
"档案完整度监控
批量导出
"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
String
fileName
=
"档案完整度监控
列表
"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
//获取要导出的列表
List
<
TCompleteMonitorVo
>
list
=
new
ArrayList
<>();
List
<
TCompleteMonitorVo
>
list
=
new
ArrayList
<>();
long
count
=
baseMapper
.
getExportCount
(
searchVo
);
long
count
=
baseMapper
.
getExportCount
(
searchVo
);
...
@@ -87,7 +87,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
...
@@ -87,7 +87,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
}
}
}
}
if
(
Common
.
isNotNull
(
list
)){
if
(
Common
.
isNotNull
(
list
)){
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控"
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控
列表
"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
index
++;
}
}
...
@@ -97,7 +97,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
...
@@ -97,7 +97,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
}
}
}
}
}
else
{
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控"
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控
列表
"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
excelWriter
.
write
(
list
,
writeSheet
);
}
}
if
(
Common
.
isNotNull
(
list
)){
if
(
Common
.
isNotNull
(
list
)){
...
...
yifu-archives/yifu-archives-biz/src/main/resources/application.yml
View file @
0bc835f9
...
@@ -26,7 +26,7 @@ mybatis-plus:
...
@@ -26,7 +26,7 @@ mybatis-plus:
logic-not-delete-value
:
0
logic-not-delete-value
:
0
configuration
:
configuration
:
map-underscore-to-camel-case
:
true
map-underscore-to-camel-case
:
true
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
#
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# spring security 配置
# spring security 配置
security
:
security
:
...
...
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