| | |
| | | import com.panzhihua.common.exceptions.PartyBuildingMemberException; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.partybuilding.*; |
| | | import com.panzhihua.common.utlis.RichTextUtil; |
| | | import com.panzhihua.service_dangjian.dao.*; |
| | | import com.panzhihua.service_dangjian.model.dos.*; |
| | | import com.panzhihua.service_dangjian.service.ComPbMemberService; |
| | |
| | | page.setSize(pageSize); |
| | | page.setCurrent(pageNum); |
| | | IPage<PartyBuildingComPbDynVO> iPage=comPbDynDAO.pageYnamic(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); |
| | | } |
| | | |