From 58a559b7b7034ce50376e076a7065c6ba8048fcb Mon Sep 17 00:00:00 2001 From: xy <748613696@qq.com> Date: Tue, 20 May 2025 10:29:47 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/csdevice/mapper/mapping/CsDataSetMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsDataSetMapper.xml b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsDataSetMapper.xml index 7582f82..1bf5fda 100644 --- a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsDataSetMapper.xml +++ b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsDataSetMapper.xml @@ -14,7 +14,7 @@ where pid = #{modelId} and cl_dev = #{clDev} - and data_type in ('Stat',NULL) + and (data_type = 'Stat' or data_type IS NULL) order by type,cl_dev