|
|
@@ -111,7 +111,8 @@ public class CommonCommentServiceImpl extends ServiceImpl<CommonCommentMapper, C
|
|
|
}
|
|
|
commentWrapper.eq("cc.source_id", sourceId)
|
|
|
.eq("cc.parent_id", 0)
|
|
|
- .eq("cc.delete_flag", CommonConstant.DELETE_FLAG_UNDELETE);
|
|
|
+ .eq("cc.delete_flag", CommonConstant.DELETE_FLAG_UNDELETE)
|
|
|
+ .orderByDesc("cc.create_time");
|
|
|
Page<CommonCommentVo> page = null;
|
|
|
if( null != pageNum && null != pageSize){
|
|
|
page = new Page<>(pageNum, pageSize);
|