From 0bf174be571c53b8af796eca4b51fcd3edec1657 Mon Sep 17 00:00:00 2001 From: DESKTOP-71BH0QO\L、ming <172680469@qq.com> Date: 星期日, 25 四月 2021 21:55:43 +0800 Subject: [PATCH] no --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMessageServiceImpl.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMessageServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMessageServiceImpl.java index 94ccd4b..2b5bb1c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMessageServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMessageServiceImpl.java @@ -113,6 +113,11 @@ } page.setSize(pageSize); page.setCurrent(pageNum); + String phone = comActMessageVO.getPhone(); + if(ObjectUtils.isEmpty(phone)) { + IPage<PageComActMessageVO> iPage=null; + return R.ok(iPage); + } IPage<PageComActMessageVO> iPage = comActMessageDAO.pageSendMeMessageApplets(page, comActMessageVO); List<PageComActMessageVO> records = iPage.getRecords(); if (!ObjectUtils.isEmpty(records)) { @@ -220,4 +225,15 @@ return R.ok(); } + @Override + public R detailMessage(Long id) { + ComActMessageDO comActMessageDO = comActMessageDAO.selectById(id); + PageComActMessageVO vo=new PageComActMessageVO(); + BeanUtils.copyProperties(comActMessageDO, vo); + List<ComActMessageBackVO> list = comActMessageDAO.selectMsgBackList(id); + vo.setBackList(list); + // TODO Auto-generated method stub + return R.ok(vo); + } + } -- Gitblit v1.7.1