|
|
@ -147,6 +147,8 @@ public class IcNoticeServiceImpl extends BaseServiceImpl<IcNoticeDao, IcNoticeEn |
|
|
|
entity.setMobile(item.getMobile()); |
|
|
|
entity.setIdCard(item.getIdCard()); |
|
|
|
entity.setOrgName(finalOrgName); |
|
|
|
// 发送结果:1成功,0失败
|
|
|
|
entity.setSendRes(NumConstant.ONE_STR); |
|
|
|
return entity; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
insertBatch(entityList); |
|
|
@ -174,6 +176,10 @@ public class IcNoticeServiceImpl extends BaseServiceImpl<IcNoticeDao, IcNoticeEn |
|
|
|
messageFormDTO.setTargetId(item.getId()); |
|
|
|
msgList.add(messageFormDTO); |
|
|
|
}); |
|
|
|
}else{ |
|
|
|
// 没有找到居民端的用户id,发送失败
|
|
|
|
item.setSendRes(NumConstant.ZERO_STR); |
|
|
|
baseDao.updateById(item); |
|
|
|
} |
|
|
|
} |
|
|
|
//TODO 短信消息
|
|
|
|