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
ca53f255
Commit
ca53f255
authored
Aug 22, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新事项,异步更新关联
parent
7de68889
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
base-manager/src/main/java/com/mortals/xhx/module/app/service/impl/AppServiceImpl.java
...m/mortals/xhx/module/app/service/impl/AppServiceImpl.java
+1
-1
base-manager/src/test/java/com/mortals/httpclient/app/AppController.http
...c/test/java/com/mortals/httpclient/app/AppController.http
+2
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/module/app/service/impl/AppServiceImpl.java
View file @
ca53f255
...
...
@@ -321,7 +321,7 @@ public class AppServiceImpl extends AbstractCRUDServiceImpl<AppDao, AppEntity, L
AppEntity
targetAppEntity
=
this
.
get
(
targetAppId
,
context
);
//删除应用的数据集
if
(!
ObjectUtils
.
isEmpty
(
sourceAppEntity
.
getTargetDelete
())&&
YesNoEnum
.
YES
.
getValue
()==
sourceA
ppEntity
.
getTargetDelete
())
{
if
(!
ObjectUtils
.
isEmpty
(
appEntity
.
getTargetDelete
())&&
YesNoEnum
.
YES
.
getValue
()==
a
ppEntity
.
getTargetDelete
())
{
Long
[]
delIds
=
targetAppEntity
.
getAppDatasetList
().
stream
().
map
(
i
->
i
.
getId
()).
toArray
(
Long
[]::
new
);
if
(
ObjectUtils
.
isEmpty
(
delIds
))
{
appDatasetService
.
remove
(
delIds
,
context
);
...
...
base-manager/src/test/java/com/mortals/httpclient/app/AppController.http
View file @
ca53f255
...
...
@@ -123,7 +123,8 @@ Content-Type: application/json
{
"sourceAppId":228,
"targetAppId":230
"targetAppId":230,
"targetDelete": 1
}
...
...
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