Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
85ff79bd
Commit
85ff79bd
authored
Jun 09, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2f8e976a
d3f9be7e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
base-manager/pom.xml
base-manager/pom.xml
+4
-0
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowServiceImpl.java
...als/xhx/module/window/service/impl/WindowServiceImpl.java
+4
-3
base-manager/src/test/java/com/mortals/httpclient/matter/MatterDatumController.http
.../com/mortals/httpclient/matter/MatterDatumController.http
+2
-2
No files found.
base-manager/pom.xml
View file @
85ff79bd
...
...
@@ -246,6 +246,10 @@
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
</dependency>
<!-- Spring Boot Data Elasticsearch依赖 -->
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowServiceImpl.java
View file @
85ff79bd
...
...
@@ -72,8 +72,9 @@ public class WindowServiceImpl extends AbstractCRUDCacheServiceImpl<WindowDao, W
Map
<
Long
,
List
<
WorkmanEntity
>>
workmanCollect
=
workmanService
.
find
(
new
WorkmanQuery
()).
stream
().
filter
(
f
->
f
.
getWindowId
()
!=
null
).
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getWindowId
()));
Map
<
Long
,
List
<
WindowBusinessEntity
>>
windowBusinessCollect
=
windowBusinessService
.
find
(
new
WindowBusinessQuery
())
.
stream
().
filter
(
f
->
f
.
getWindowId
()
!=
null
).
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getWindowId
()));
Map
<
Long
,
List
<
WindowMatterEntity
>>
windowMatterCollect
=
windowMatterService
.
find
(
new
WindowMatterQuery
())
/*
Map<Long, List<WindowMatterEntity>> windowMatterCollect = windowMatterService.find(new WindowMatterQuery())
.stream().filter(f -> f.getWindowId() != null).collect(Collectors.groupingBy(x -> x.getWindowId()));
*/
Map
<
Long
,
WindowHallEntity
>
windowHallMap
=
windowHallService
.
find
(
new
WindowHallQuery
()).
parallelStream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
getWindowId
(),
y
->
y
,
(
o
,
n
)
->
n
));
list
.
stream
().
peek
(
item
->
{
if
(!
ObjectUtils
.
isEmpty
(
workmanCollect
.
get
(
item
.
getId
())))
{
...
...
@@ -82,9 +83,9 @@ public class WindowServiceImpl extends AbstractCRUDCacheServiceImpl<WindowDao, W
if
(!
ObjectUtils
.
isEmpty
(
windowBusinessCollect
.
get
(
item
.
getId
())))
{
item
.
setWindowBusinessList
(
windowBusinessCollect
.
get
(
item
.
getId
()));
}
if
(!
ObjectUtils
.
isEmpty
(
windowMatterCollect
.
get
(
item
.
getId
())))
{
/*
if (!ObjectUtils.isEmpty(windowMatterCollect.get(item.getId()))) {
item.setWindowMatterList(windowMatterCollect.get(item.getId()));
}
}
*/
WindowHallEntity
windowHallEntity
=
windowHallMap
.
get
(
item
.
getId
());
if
(!
ObjectUtils
.
isEmpty
(
windowHallEntity
))
{
item
.
setHallId
(
windowHallEntity
.
getHallId
());
...
...
base-manager/src/test/java/com/mortals/httpclient/matter/MatterDatumController.http
View file @
85ff79bd
...
...
@@ -15,9 +15,9 @@ POST {{baseUrl}}/matter/datum/importData
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="
大竹批量导入
材料模板.xlsx"
Content-Disposition: form-data; name="file"; filename="材料模板.xlsx"
< ./
大竹批量导入
材料模板.xlsx
< ./材料模板.xlsx
--WebAppBoundary--
###事项申请材料列表
...
...
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