Compare commits
No commits in common. "965b0809ce772e9aa49d04a8cccfb30d9bef7770" and "061afaa89a678cbd26dc3a9cc72d61fef25e28f9" have entirely different histories.
965b0809ce
...
061afaa89a
|
|
@ -1,6 +1,5 @@
|
|||
package com.ruoyi.app.domain;
|
||||
|
||||
import com.ruoyi.app.domain.vo.AppDynamicCommentVo;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
|
@ -75,7 +74,7 @@ public class AppUserDynamic extends BaseEntity
|
|||
private List<Long> ids;
|
||||
|
||||
private List<Long> dynamicIds;
|
||||
private List<AppDynamicCommentVo> appDynamicComments;
|
||||
|
||||
private Integer check;
|
||||
|
||||
private Boolean isOwner;
|
||||
|
|
|
|||
|
|
@ -58,12 +58,9 @@ public class AppUserDynamicServiceImpl implements IAppUserDynamicService
|
|||
* @return App用户动态
|
||||
*/
|
||||
@Override
|
||||
public AppUserDynamic selectAppUserDynamicById(Long id) {
|
||||
AppUserDynamic appUserDynamic = appUserDynamicMapper.selectcById(id);
|
||||
AppDynamicComment appDynamicComment = new AppDynamicComment();
|
||||
appDynamicComment.setDynamicId(id);
|
||||
appUserDynamic.setAppDynamicComments(appDynamicCommentMapper.selectCommentList(appDynamicComment));
|
||||
return appUserDynamic;
|
||||
public AppUserDynamic selectAppUserDynamicById(Long id)
|
||||
{
|
||||
return appUserDynamicMapper.selectcById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue