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
9cfbcc88
Commit
9cfbcc88
authored
Jun 14, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加根据部门id 查询所属大厅
parent
1e684838
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
...mortals/xhx/module/site/service/impl/SiteServiceImpl.java
+2
-0
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
...test/java/com/mortals/httpclient/site/SiteController.http
+1
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
View file @
9cfbcc88
...
@@ -511,6 +511,8 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
...
@@ -511,6 +511,8 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
SiteEntity
siteEntity
=
this
.
selectOne
(
new
SiteQuery
().
siteName
(
query
.
getSiteName
()));
SiteEntity
siteEntity
=
this
.
selectOne
(
new
SiteQuery
().
siteName
(
query
.
getSiteName
()));
if
(!
ObjectUtils
.
isEmpty
(
siteEntity
))
{
if
(!
ObjectUtils
.
isEmpty
(
siteEntity
))
{
query
.
setAreaLevel
(
siteEntity
.
getAreaLevel
());
query
.
setAreaLevel
(
siteEntity
.
getAreaLevel
());
}
else
{
return
Rest
.
ok
(
new
ArrayList
<>());
}
}
}
}
//获取所有层级的区域
//获取所有层级的区域
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
View file @
9cfbcc88
...
@@ -87,7 +87,7 @@ POST {{baseUrl}}/site/getAreaSitesByAreaLevel
...
@@ -87,7 +87,7 @@ POST {{baseUrl}}/site/getAreaSitesByAreaLevel
Content-Type: application/json
Content-Type: application/json
{
{
"
areaLevel":2
"
siteName":"徐州区办事处"
}
}
###站点列表
###站点列表
...
...
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