Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
691dcef8
Commit
691dcef8
authored
Sep 26, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检点查询BUG
parent
a20ac80a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
AreaServiceImpl.java
...com/yeejoin/equipmanage/service/impl/AreaServiceImpl.java
+2
-1
FileHelper.java
...ava/com/yeejoin/amos/patrol/business/util/FileHelper.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/AreaServiceImpl.java
View file @
691dcef8
...
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.google.common.collect.Lists
;
import
com.thoughtworks.xstream.mapper.Mapper
;
import
com.yeejoin.amos.boot.biz.common.dto.OrgMenuDto
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
...
...
@@ -270,7 +271,7 @@ public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IA
vo
.
setType
(
"area"
);
vo
.
setBizOrgCode
(
area
.
getBizOrgCode
());
vo
.
setBizOrgName
(
area
.
getBizOrgName
());
vo
.
setParentId
(
area
.
getParentId
().
equals
(
0L
)
?
orgMap
.
get
(
area
.
getBizOrgCode
())
:
area
.
getParentId
());
vo
.
setParentId
(
Objects
.
isNull
(
area
.
getParentId
())
||
area
.
getParentId
().
equals
(
0L
)
?
orgMap
.
get
(
area
.
getBizOrgCode
())
:
area
.
getParentId
());
return
vo
;
}).
collect
(
Collectors
.
toList
());
orgTreeList
.
addAll
(
areaTreeVoList
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/util/FileHelper.java
View file @
691dcef8
...
...
@@ -1110,12 +1110,12 @@ private static void defaultExport(List<Map<String, Object>> list, String fileNam
//表头样式
HSSFCellStyle
style
=
wb
.
createCellStyle
();
style
.
setAlignment
(
H
SSFCellStyle
.
ALIGN_
CENTER
);
// 创建一个居中格式
style
.
setAlignment
(
H
orizontalAlignment
.
CENTER
);
// 创建一个居中格式
//字体样式
HSSFFont
fontStyle
=
wb
.
createFont
();
fontStyle
.
setFontName
(
"微软雅黑"
);
fontStyle
.
setFontHeightInPoints
((
short
)
12
);
fontStyle
.
setBold
weight
(
HSSFFont
.
BOLDWEIGHT_BOLD
);
fontStyle
.
setBold
(
true
);
style
.
setFont
(
fontStyle
);
//新建sheet
...
...
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