From 6177b22a7ee89db490cd62aef636a127d740a0d5 Mon Sep 17 00:00:00 2001 From: aikai Date: Thu, 3 Jul 2025 11:26:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(zn-module-smartfactory):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=A4=84=E7=90=86=E7=BB=84=E6=9F=A5=E8=AF=A2=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E4=B8=AD=E7=9A=84=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 STR_TO_DATE(c.date_str, '%Y-%m-%d') 中的表别名从 c 修改为 a- 修复了查询语句中创建时间条件的错误 --- .../main/resources/mapper/handlinggroup/HandlingGroupMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/resources/mapper/handlinggroup/HandlingGroupMapper.xml b/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/resources/mapper/handlinggroup/HandlingGroupMapper.xml index 6a3911ac..6351eb9f 100644 --- a/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/resources/mapper/handlinggroup/HandlingGroupMapper.xml +++ b/zn-module-smartfactory/zn-module-smartfactory-biz/src/main/resources/mapper/handlinggroup/HandlingGroupMapper.xml @@ -107,7 +107,7 @@ - and STR_TO_DATE( c.date_str, '%Y-%m-%d' ) >= #{vo.createTime[0]} + and STR_TO_DATE( a.date_str, '%Y-%m-%d' ) >= #{vo.createTime[0]} and STR_TO_DATE( a.date_str, '%Y-%m-%d' ) <= #{vo.createTime[1]}