Commit 56a1014e authored by 11277's avatar 11277

Update 头行保存.md

parent 7f4739a9
...@@ -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);
}
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment