|
@ -2,7 +2,6 @@ package com.epmet.modules.partyOrg.service.impl; |
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|
|
import com.epmet.commons.rocketmq.messages.PartyMeetingMessageMQMsg; |
|
|
|
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
@ -11,9 +10,6 @@ import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache; |
|
|
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.SpringContextUtils; |
|
|
|
|
|
import com.epmet.constant.SystemMessageType; |
|
|
|
|
|
import com.epmet.feign.EpmetMessageOpenFeignClient; |
|
|
|
|
|
import com.epmet.modules.partyOrg.dao.IcScheduleDao; |
|
|
import com.epmet.modules.partyOrg.dao.IcScheduleDao; |
|
|
import com.epmet.modules.partyOrg.entity.IcScheduleEntity; |
|
|
import com.epmet.modules.partyOrg.entity.IcScheduleEntity; |
|
|
import com.epmet.modules.partyOrg.service.IcScheduleService; |
|
|
import com.epmet.modules.partyOrg.service.IcScheduleService; |
|
@ -21,7 +17,6 @@ import com.epmet.resi.partymember.dto.IcScheduleDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.AddOrEditScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.AddOrEditScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.IcScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.form.IcScheduleFormDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.result.IcScheduleListDTO; |
|
|
import com.epmet.resi.partymember.dto.partyOrg.result.IcScheduleListDTO; |
|
|
import com.epmet.send.SendMqMsgUtil; |
|
|
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
import com.github.pagehelper.PageHelper; |
|
|
import com.github.pagehelper.PageInfo; |
|
|
import com.github.pagehelper.PageInfo; |
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
@ -120,13 +115,14 @@ public class IcScheduleServiceImpl extends BaseServiceImpl<IcScheduleDao, IcSche |
|
|
e.setPid(agencyInfo.getPid()); |
|
|
e.setPid(agencyInfo.getPid()); |
|
|
e.setOrgIdPath("".equals(agencyInfo.getPids()) ? agencyInfo.getId() : agencyInfo.getPids().concat(":").concat(agencyInfo.getId())); |
|
|
e.setOrgIdPath("".equals(agencyInfo.getPids()) ? agencyInfo.getId() : agencyInfo.getPids().concat(":").concat(agencyInfo.getId())); |
|
|
baseDao.insert(e); |
|
|
baseDao.insert(e); |
|
|
PartyMeetingMessageMQMsg msg = new PartyMeetingMessageMQMsg(); |
|
|
|
|
|
msg.setCustomerId(formDTO.getCustomerId()); |
|
|
// PartyMeetingMessageMQMsg msg = new PartyMeetingMessageMQMsg();
|
|
|
msg.setIcPartyActId(e.getId()); |
|
|
// msg.setCustomerId(formDTO.getCustomerId());
|
|
|
msg.setType("notify"); |
|
|
// msg.setIcPartyActId(e.getId());
|
|
|
SendMqMsgUtil.build() |
|
|
// msg.setType("notify");
|
|
|
.openFeignClient(SpringContextUtils.getBean(EpmetMessageOpenFeignClient.class)) |
|
|
// SendMqMsgUtil.build()
|
|
|
.sendRocketMqMsg(SystemMessageType.PARTY_MEETING_MESSAGE, msg); |
|
|
// .openFeignClient(SpringContextUtils.getBean(EpmetMessageOpenFeignClient.class))
|
|
|
|
|
|
// .sendRocketMqMsg(SystemMessageType.PARTY_MEETING_MESSAGE, msg);
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|