From ffba4c1baea0c7cedd2a70cfc56101fb0b58da25 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sat, 23 Dec 2023 13:40:31 +0800
Subject: [PATCH] 查询当日人员位置
---
src/main/java/org/springblade/modules/location/mapper/LivePersonLocationMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/location/mapper/LivePersonLocationMapper.xml b/src/main/java/org/springblade/modules/location/mapper/LivePersonLocationMapper.xml
index 0777cab..044c654 100644
--- a/src/main/java/org/springblade/modules/location/mapper/LivePersonLocationMapper.xml
+++ b/src/main/java/org/springblade/modules/location/mapper/LivePersonLocationMapper.xml
@@ -21,7 +21,7 @@
LEFT JOIN blade_dept bd ON bd.id = bu.dept_id
LEFT JOIN sys_dispatcher sd ON sd.user_ids = bu.id
LEFT JOIN sys_dispatcher_unit sdu ON sdu.id = sd.dispatcher_unit_id
- WHERE 1=1
+ WHERE 1=1 and DATE_FORMAT(lpl.record_time,'%Y-%m-%d') >=DATE_FORMAT(NOW(),'%Y-%m-%d')
</select>
</mapper>
--
Gitblit v1.9.3