|
|
@ -227,6 +227,7 @@ public class MsmServiceImpl implements IMsmService { |
|
|
|
DcPublishManage dcPublishManage = new DcPublishManage(); |
|
|
|
String eventId = map.get("eventId").toString();//事件id
|
|
|
|
String content = map.get("content").toString();//信息内容
|
|
|
|
String stakeMark = map.get("stakeMark").toString();//桩号
|
|
|
|
// Integer eventType = dcPublishManageMapper.selectEventType(eventId);//事件类型
|
|
|
|
// DcPublishingChannels publishManage = dcPublishManageMapper.selectPublishManage(eventType);//渠道信息
|
|
|
|
// if (publishManage!=null){
|
|
|
@ -239,6 +240,7 @@ public class MsmServiceImpl implements IMsmService { |
|
|
|
dcPublishManage.setContentDetails(map.get("content").toString()); |
|
|
|
dcPublishManage.setPublishChannels(UniversalEnum.EIGHT.getNumber());//发布渠道类型:企业微信
|
|
|
|
dcPublishManage.setPublishStatus(UniversalEnum.ONE.getNumber());//发布成功
|
|
|
|
dcPublishManage.setPosition(stakeMark); |
|
|
|
dcPublishManageMapper.insertDcPublishManage(dcPublishManage);//加入推送记录
|
|
|
|
// ArrayList<String> array = (ArrayList<String>) map.get("type");
|
|
|
|
// Boolean send = null;
|
|
|
|