From 1a797a160d84ec68f15d74288f0c45c85a0a47b8 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Fri, 5 Dec 2025 17:46:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(qc):=20=E4=BF=AE=E5=A4=8DWmsCheckItemMapper?= =?UTF-8?q?.xml=E4=B8=AD=E7=9A=84SQL=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更正了foreach循环中的变量引用,将"ids"改为"id" - 修复了SQL查询中的语法问题,确保IN子句正确解析参数列表 - 调整了XML标签结构,避免不必要的空行影响SQL执行 --- klp-mes/src/main/resources/mapper/qc/WmsCheckItemMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/klp-mes/src/main/resources/mapper/qc/WmsCheckItemMapper.xml b/klp-mes/src/main/resources/mapper/qc/WmsCheckItemMapper.xml index 4264d16b..13773e85 100644 --- a/klp-mes/src/main/resources/mapper/qc/WmsCheckItemMapper.xml +++ b/klp-mes/src/main/resources/mapper/qc/WmsCheckItemMapper.xml @@ -36,10 +36,11 @@ remark FROM wms_check_item WHERE item_id IN - - #{ids} + + #{id} +