Commit 5710ac50 by danmo

bug修改

1 parent 4934d7b1
...@@ -80,8 +80,7 @@ public class WeGroupMessageSendResultServiceImpl extends ServiceImpl<WeGroupMess ...@@ -80,8 +80,7 @@ public class WeGroupMessageSendResultServiceImpl extends ServiceImpl<WeGroupMess
if (CollectionUtil.isNotEmpty(sendResultList)) { if (CollectionUtil.isNotEmpty(sendResultList)) {
sendResultList.forEach(item -> { sendResultList.forEach(item -> {
LambdaQueryWrapper<WeGroupMessageSendResult> wrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<WeGroupMessageSendResult> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(WeGroupMessageSendResult::getMsgId, item.getMsgId()) wrapper.eq(WeGroupMessageSendResult::getUserId, item.getUserId());
.eq(WeGroupMessageSendResult::getUserId, item.getUserId());
if(item.getMsgTemplateId() != null){ if(item.getMsgTemplateId() != null){
wrapper.eq(WeGroupMessageSendResult::getMsgTemplateId,item.getMsgTemplateId()); wrapper.eq(WeGroupMessageSendResult::getMsgTemplateId,item.getMsgTemplateId());
} }
......
...@@ -57,7 +57,7 @@ public class WeGroupMessageTaskServiceImpl extends ServiceImpl<WeGroupMessageTas ...@@ -57,7 +57,7 @@ public class WeGroupMessageTaskServiceImpl extends ServiceImpl<WeGroupMessageTas
if(item.getMsgTemplateId() != null){ if(item.getMsgTemplateId() != null){
wrapper.eq(WeGroupMessageTask::getMsgTemplateId,item.getMsgTemplateId()); wrapper.eq(WeGroupMessageTask::getMsgTemplateId,item.getMsgTemplateId());
} }
wrapper.eq(WeGroupMessageTask::getMsgId, item.getMsgId()).eq(WeGroupMessageTask::getUserId, item.getUserId()); wrapper.eq(WeGroupMessageTask::getUserId, item.getUserId());
if (!this.update(item,wrapper)){ if (!this.update(item,wrapper)){
this.save(item); this.save(item);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!