Commit 8453a01f by 龙于生

传阅列表接口修改

parent 1030299c
...@@ -605,10 +605,7 @@ public class CmsController { ...@@ -605,10 +605,7 @@ public class CmsController {
//查询传阅列表 //查询传阅列表
IPage<CmsContentRead> cmsContentReads = CmsContentRead.builder().build() IPage<CmsContentRead> cmsContentReads = CmsContentRead.builder().build()
.selectPage(page, new QueryWrapper<CmsContentRead>() .selectPage(page, new QueryWrapper<CmsContentRead>()
.lambda().eq(CmsContentRead::getCmsContentId, cmsContentReadDto.getCmsContentId()) .lambda().eq(CmsContentRead::getCmsContentId, cmsContentReadDto.getCmsContentId()).orderByDesc(CmsContentRead::getReviewTime));
.eq(CmsContentRead::getOrgCode,userBean.getOrgCode())
.eq(CmsContentRead::getUserId,userBean.getEmpNum())
.orderByDesc(CmsContentRead::getReviewTime));
return ResultUtil.data(cmsContentReads); return ResultUtil.data(cmsContentReads);
} }
......
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