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
8a3fcf34
Commit
8a3fcf34
authored
Jan 11, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/smart_gov_platform
parents
65046d6b
6109b82d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
base-manager-ui/admin/package.json
base-manager-ui/admin/package.json
+1
-0
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
...mortals/xhx/module/site/service/impl/SiteServiceImpl.java
+8
-5
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
...test/java/com/mortals/httpclient/site/SiteController.http
+8
-0
No files found.
base-manager-ui/admin/package.json
View file @
8a3fcf34
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"build"
:
"vue-cli-service build --mode production"
,
"build"
:
"vue-cli-service build --mode production"
,
"beta"
:
"vue-cli-service build --mode beta"
,
"beta"
:
"vue-cli-service build --mode beta"
,
"test"
:
"vue-cli-service build --mode test"
,
"test"
:
"vue-cli-service build --mode test"
,
"yb"
:
"vue-cli-service build --mode yb"
,
"build:prod"
:
"vue-cli-service build --model prod"
,
"build:prod"
:
"vue-cli-service build --model prod"
,
"lint"
:
"vue-cli-service lint"
,
"lint"
:
"vue-cli-service lint"
,
"predeploy"
:
"yarn build"
,
"predeploy"
:
"yarn build"
,
...
...
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
View file @
8a3fcf34
...
@@ -322,13 +322,16 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
...
@@ -322,13 +322,16 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
@Override
@Override
public
Rest
<
List
<
SiteAreaVo
>>
getAreaSitesBySite
(
SiteQuery
query
,
Context
context
)
{
public
Rest
<
List
<
SiteAreaVo
>>
getAreaSitesBySite
(
SiteQuery
query
,
Context
context
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
List
<
SiteAreaVo
>
list
=
new
ArrayList
<>();
List
<
SiteAreaVo
>
list
=
new
ArrayList
<>();
//获取当前节点的第一层子节点
//获取当前节点的第一层子节点
SiteEntity
siteCache
=
this
.
getCache
(
query
.
getId
().
toString
());
if
(
ObjectUtils
.
isEmpty
(
query
.
getAreaName
())){
AreaEntity
areaEntity
=
areaService
.
getCache
(
siteCache
.
getAreaCode
());
throw
new
AppException
(
"区域名称查询参数不能为空!"
);
}
//SiteEntity siteCache = this.getCache(query.getId().toString());
AreaEntity
areaEntity
=
areaService
.
getCache
(
query
.
getAreaName
());
if
(
ObjectUtils
.
isEmpty
(
areaEntity
)){
throw
new
AppException
(
"区域名称不存在!"
);
}
if
(
"False"
.
equalsIgnoreCase
(
areaEntity
.
getHaveSonArea
()))
{
if
(
"False"
.
equalsIgnoreCase
(
areaEntity
.
getHaveSonArea
()))
{
throw
new
AppException
(
"当前站点无子区域!"
);
throw
new
AppException
(
"当前站点无子区域!"
);
}
}
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
View file @
8a3fcf34
...
@@ -84,6 +84,14 @@ Content-Type: application/json
...
@@ -84,6 +84,14 @@ Content-Type: application/json
"areaCode":"510105521000"
"areaCode":"510105521000"
}
}
###站点列表
POST {{baseUrl}}/site/getAreaSitesBySite
Content-Type: application/json
{
"id":7
}
###同步事项数据
###同步事项数据
POST {{baseUrl}}/site/syncGovMatterBySiteId
POST {{baseUrl}}/site/syncGovMatterBySiteId
...
...
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