From 738e329eb33d47b131785abce4c7c04917f74785 Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Sat, 20 Apr 2024 16:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/PersonnelControlMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/PersonnelControlMapper.xml b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/PersonnelControlMapper.xml index 89f8ac0..716cc4f 100644 --- a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/PersonnelControlMapper.xml +++ b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/PersonnelControlMapper.xml @@ -127,7 +127,7 @@ left join tb_device_detail tdd ON his.attribute_id = tdd.id left join tb_bd_device tbd ON tbd.device_id = tdd.device_id LEFT JOIN tb_pro_bd tpb ON tbd.bd_id = tpb.id - where his.val=#{bindUser} and tpb.bid_code = #{bidCode} + where his.val=#{bindUser} and tpb.bid_code = #{bidCode} and tbd.devic_type=1905 AND DATE_FORMAT(his.create_time,'%Y-%m-%d') = #{month}