Commit 10488402 authored by 罗可心's avatar 罗可心 😕

小程序解决bug 今日邀访显示已删除的信息

parent 49879854
...@@ -302,6 +302,7 @@ ...@@ -302,6 +302,7 @@
where 1 = 1 where 1 = 1
and vi.visit_date = CURDATE() and vi.visit_date = CURDATE()
and vi.user_id = #{userId} and vi.user_id = #{userId}
and vi.del_flag = '0'
and visit_real_time <= current_timestamp and visit_real_time <= current_timestamp
ORDER BY visit_real_time DESC ORDER BY visit_real_time DESC
</select> </select>
...@@ -323,6 +324,7 @@ ...@@ -323,6 +324,7 @@
where 1 = 1 where 1 = 1
and vi.visit_date = CURDATE() and vi.visit_date = CURDATE()
and vi.user_id = #{userId} and vi.user_id = #{userId}
and vi.del_flag = '0'
and visit_real_time >= current_timestamp and visit_real_time >= current_timestamp
ORDER BY visit_real_time ORDER BY visit_real_time
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment