| | |
| | | import com.panzhihua.common.model.vos.user.SysUserVO; |
| | | import com.panzhihua.common.service.user.UserService; |
| | | import com.panzhihua.common.utlis.DateUtils; |
| | | import com.panzhihua.common.utlis.RichTextUtil; |
| | | import com.panzhihua.common.utlis.SensitiveUtil; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_dangjian.dao.*; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R pageYnamic(PartyBuildingComPbDynVO partyBuildingComPbDynVO) { |
| | | return null; |
| | | public R pageYnamic(PartyBuildingComPbDynVO partyBuildingComPbDynVO) |
| | | { |
| | | Page page = new Page<>(); |
| | | Long pageNum = partyBuildingComPbDynVO.getPageNum(); |
| | | Long pageSize = partyBuildingComPbDynVO.getPageSize(); |
| | | if (null == pageNum) { |
| | | pageNum = 1l; |
| | | } |
| | | if (null == pageSize) { |
| | | pageSize = 10l; |
| | | } |
| | | page.setSize(pageSize); |
| | | page.setCurrent(pageNum); |
| | | IPage<PartyBuildingComPbDynVO> iPage = comPbDynDAO.pageYnamics(page, partyBuildingComPbDynVO); |
| | | List<PartyBuildingComPbDynVO> records = iPage.getRecords(); |
| | | if (!(ObjectUtils.isEmpty(records))) { |
| | | records.forEach(partyBuildingComPbDynVO1 -> { |
| | | String content = partyBuildingComPbDynVO1.getContent(); |
| | | if (!ObjectUtils.isEmpty(content)) { |
| | | String text = RichTextUtil.getText(content); |
| | | partyBuildingComPbDynVO1.setContentText(text); |
| | | } |
| | | }); |
| | | } |
| | | return R.ok(iPage); |
| | | } |
| | | |
| | | @Override |