From d1d3fac434ab338f38643c62382696e781667444 Mon Sep 17 00:00:00 2001 From: shiyang <316555390@qq.com> Date: Fri, 22 Apr 2022 15:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E5=A5=B3=E5=85=B3=E6=B3=A8=E6=82=A3?= =?UTF-8?q?=E8=80=85=E6=8E=A8=E9=80=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java index 3efe1d9..edb3fa8 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/PushArticleTask.java @@ -230,7 +230,7 @@ public class PushArticleTask { //子女关注的患者推送短消息 public void pushPatientAttention(LymsPushMessages lymsPushMessage,Map map) throws Exception{ QueryWrapper queryWrapper=new QueryWrapper<>(); - queryWrapper.apply("TO_DAYS(created_time) = TO_DAYS(NOW()) and isweixin_state=0");//今天需要推送的消息 + queryWrapper.apply("TO_DAYS(created_time) = TO_DAYS(NOW()) and isweixin_state=0 and pa_id={0}",lymsPushMessage.getPid());//今天需要推送的消息 final List pushAttentionRecords = lymsPushAttentionRecordService.list(queryWrapper); for (LymsPushAttentionRecord pushAttentionRecord : pushAttentionRecords) { Map mapInfo =pLoginInfo(pushAttentionRecord.getPid()); -- 1.8.3.1