|
@@ -150,6 +150,29 @@ public class HyPublicConsultationServiceImpl extends ServiceImpl<HyPublicConsult
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 列表
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public HyPublicConsultation selectHyPublicConsultationList() {
|
|
|
+ Map<String, Object> pageView = new HashMap<>(7);
|
|
|
+ pageView.put("pageSize", 5);
|
|
|
+ pageView.put("currentPage", 1);
|
|
|
+ pageView.put("searchType", "公告");
|
|
|
+ List<HyPublicConsultation> dataList = baseMapper.getListByCondition(pageView);
|
|
|
+ pageView.put("searchType", "资讯");
|
|
|
+ List<HyPublicConsultation> dataList1 = baseMapper.getListByCondition(pageView);
|
|
|
+ pageView.put("searchType", "公示");
|
|
|
+ List<HyPublicConsultation> dataList2 = baseMapper.getListByCondition(pageView);
|
|
|
+ HyPublicConsultation publicConsultation = new HyPublicConsultation();
|
|
|
+ publicConsultation.setPublicConsultations(dataList);
|
|
|
+ publicConsultation.setPublicConsultations1(dataList1);
|
|
|
+ publicConsultation.setPublicConsultations2(dataList2);
|
|
|
+ return publicConsultation;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 删除
|
|
|
*
|