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
59013471
Commit
59013471
authored
Nov 29, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改app克隆
parent
851049d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
base-manager/doc/api.md
base-manager/doc/api.md
+3
-1
base-manager/src/main/java/com/mortals/xhx/module/app/web/AppController.java
...in/java/com/mortals/xhx/module/app/web/AppController.java
+7
-0
No files found.
base-manager/doc/api.md
View file @
59013471
...
@@ -9145,7 +9145,9 @@ data| object |数据对象
...
@@ -9145,7 +9145,9 @@ data| object |数据对象
  
summary| String |简介
  
summary| String |简介
  
distribute| Integer |是否部署(0.否,1.是)
  
distribute| Integer |是否部署(0.否,1.是)
  
dateUpdate| Integer |是否数据更新(0.否,1.是)
  
dateUpdate| Integer |是否数据更新(0.否,1.是)
  
dateUpdate| array |数据结果集
  
appDatasetList| array |数据结果集
  
applianceSiteScope| Integer |适用站点范围数量
  
siteIdList| array |适用范围站点列表
  
createTime| Date |创建时间
  
createTime| Date |创建时间
  
updateUserId| Long |更新用户
  
updateUserId| Long |更新用户
  
updateTime| Date |更新时间
  
updateTime| Date |更新时间
...
...
base-manager/src/main/java/com/mortals/xhx/module/app/web/AppController.java
View file @
59013471
...
@@ -66,6 +66,13 @@ public class AppController extends BaseCRUDJsonBodyMappingController<AppService,
...
@@ -66,6 +66,13 @@ public class AppController extends BaseCRUDJsonBodyMappingController<AppService,
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
@Override
protected
int
infoAfter
(
Long
id
,
Map
<
String
,
Object
>
model
,
AppEntity
entity
,
Context
context
)
throws
AppException
{
List
<
AppEntity
>
appEntityList
=
this
.
service
.
find
(
new
AppQuery
().
appCode
(
entity
.
getAppCode
()),
context
);
entity
.
setApplianceSiteScope
(
appEntityList
.
size
());
entity
.
setSiteIdList
(
appEntityList
.
stream
().
map
(
AppEntity:
:
getSiteId
).
collect
(
Collectors
.
toList
()));
return
super
.
infoAfter
(
id
,
model
,
entity
,
context
);
}
/**
/**
* app应用部署
* app应用部署
...
...
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