From d81d082dbd132a7cbfbfbc7c7cb6d597029c32ed Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期一, 24 十月 2022 17:40:23 +0800 Subject: [PATCH] 三说会堂bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java index e14adc1..1438d96 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java @@ -373,7 +373,8 @@ comEvent.setSolve(0); comEvent.setDistribution(0); //comEvent.setChangeExpert(0); - comEvent.setArchive(0); + //comEvent.setArchive(0); + comEvent.setConciliation(0); } else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventSucceed().equals(2)){ //调解完成,可以归档,查看 @@ -617,7 +618,7 @@ comEvent.setCurrentOrgId(community.getCommunityId().toString()); comEvent.setCurrentProcessType(5); } - if (!StringUtils.isEmpty(comEvent.getCenterId())) { + if (!StringUtils.isEmpty(comEvent.getCenterId())) { //创建时处理级别都是专家 ComSanshuoIndustryCenter center = comSanShuoIndustryCenterService.getById(comEvent.getCenterId()); comEvent.setCurrentOrgName(center.getName()); @@ -656,7 +657,7 @@ public void sendMessage(Long expertId,ComEvent comEvent){ //获取专家的openId ComSanshuoExpert expert = comSanShuoExpertService.getById(expertId); - SysUser sysUser = sysUserDao.selectOne(new QueryWrapper<SysUser>().lambda().eq(SysUser::getPhone, expert.getPhone()).eq(SysUser::getType, 1)); + SysUser sysUser = sysUserDao.selectOne(new QueryWrapper<SysUser>().lambda().eq(SysUser::getPhone, expert.getPhone()).eq(SysUser::getType, 1).eq(SysUser::getAppId,"wx0cef797390444b75" )); SanShuoMessageVO vo=new SanShuoMessageVO(); if (nonNull(sysUser)){ if (isNull(sysUser.getOpenid())){ @@ -851,7 +852,7 @@ || comEvent.getEventProcessStatus() == SanShuoEventStatusEnum.VALID.getCode().intValue()) { comEvent.setId(id); comEvent.setUserEventStatus(4); - comEvent.setEventProcessStatus(8); + comEvent.setEventProcessStatus(9); comEvent.setRevokeDes("用户手动取消"); comEvent.setRevokeDate(new Date()); int flag = baseMapper.updateById(comEvent); @@ -906,7 +907,11 @@ if (isNull(comEvent.getRequestUserCommunity())){ return comSanShuoIndustryCenterService.getById(comEvent.getCenterId()).getPhone(); }else { - return comActDAO.selectById(comEvent.getRequestUserCommunity()).getContactsPhone(); + String contactsPhone = comActDAO.selectById(comEvent.getRequestUserCommunity()).getContactsPhone(); + if (isNull(contactsPhone)){ + return null; + } + return contactsPhone; } } -- Gitblit v1.7.1