From 56d369c801f67a7a89f14d68ae24528eba5b3659 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Tue, 9 Jan 2024 17:17:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E5=88=A0=E9=99=A4=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=88=90=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/device/DeviceTaskMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/op-modules/op-device/src/main/resources/mapper/device/DeviceTaskMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/DeviceTaskMapper.xml index a190ac18..4189a69a 100644 --- a/op-modules/op-device/src/main/resources/mapper/device/DeviceTaskMapper.xml +++ b/op-modules/op-device/src/main/resources/mapper/device/DeviceTaskMapper.xml @@ -29,6 +29,7 @@ from equ_plan ep left join equ_plan_equ epe on ep.plan_code = epe.plan_code where ep.del_flag = '0' and epe.del_flag = '0' and ep.plan_status = '0' + and epe.equipment_code in ( select be.equipment_code from base_equipment be where be.del_flag = '0' ) and ep.plan_type = #{planType} and CONVERT(varchar(10),GETDATE(), 120) >= CONVERT(varchar(10),ep.plan_loop_start, 120)