main
parent
24807e717d
commit
262c099b43
|
|
@ -60,7 +60,7 @@ public class AppDynamicCommentServiceImpl implements IAppDynamicCommentService
|
|||
@Override
|
||||
public int insertAppDynamicComment(AppDynamicComment appDynamicComment)
|
||||
{
|
||||
if (appDynamicComment.getParentId() > 0) {
|
||||
if (appDynamicComment.getParentId() != null && appDynamicComment.getParentId() > 0) {
|
||||
AppDynamicComment entity = appDynamicCommentMapper.selectAppDynamicCommentById(appDynamicComment.getId());
|
||||
appDynamicComment.setParentIds(appDynamicComment.getParentId() + ",");
|
||||
if (StringUtils.isNotBlank(entity.getParentIds())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue