提交 6786b7dd authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 ded14c02
......@@ -117,6 +117,10 @@ public class AcupointLibrarySerivceImpl extends BaseServiceImpl<AcupointLibrary,
diyType.setAcupointId(entity.getId());
diyTypeMapper.insert(diyType);
}
//删除关联资源
Example example = new Example(ResourceRelation.class);
example.createCriteria().andEqualTo("objectId", entity.getId());
meridianLibraryMapper.deleteByExample(example);
//添加当前对象与关联资源的关系
if(form.getResourceRelationList() != null && form.getResourceRelationList().size() > 0){
List<ResourceRelation> list = form.getResourceRelationList();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论