Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenhao
hel-developer-guide
Commits
56a1014e
Commit
56a1014e
authored
Aug 05, 2017
by
11277
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 头行保存.md
parent
7f4739a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
头行保存.md
前端组件/头行保存.md
+0
-21
No files found.
前端组件/头行保存.md
View file @
56a1014e
...
@@ -264,26 +264,5 @@ public class HlsPersonServiceImpl extends BaseServiceImpl<HlsPerson> implements
...
@@ -264,26 +264,5 @@ public class HlsPersonServiceImpl extends BaseServiceImpl<HlsPerson> implements
```
接口实现类testServiceImpl定义了batchChildUpdate方法:
```
java
@Override
public
void
batchChildUpdate
(
IRequest
iRequest
,
HlsPerson
hlsPerson
,
List
<
HlsHobby
>
hlsHobbyList
)
{
List
<
HlsPerson
>
tempHlsPerson
=
new
ArrayList
<
HlsPerson
>();
if
(
hlsPerson
!=
null
){
tempHlsPerson
.
add
(
hlsPerson
);
hlsPersonService
.
batchUpdate
(
iRequest
,
tempHlsPerson
);
Long
pid
=
tempHlsPerson
.
get
(
0
).
getPid
();
for
(
HlsHobby
hh
:
hlsHobbyList
){
hh
.
setPid
(
pid
);
}
hlsHobbyService
.
batchUpdate
(
iRequest
,
hlsHobbyList
);
}
}
```
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