From 081c98e90b20e70574714620929e3eeda45bbe91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 25 Mar 2026 17:40:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(mapper):=20=E4=BF=AE=E6=AD=A3=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=AD=97=E6=AE=B5=E6=98=A0=E5=B0=84=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E5=86=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 item_no 字段引用更正为 ItemNo 以匹配数据库实际字段名 - 确保查询条件中的字段名与数据库表结构保持一致 --- src/main/resources/mapper/production/SoScheduledListMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml index a8b2552..8ccb361 100644 --- a/src/main/resources/mapper/production/SoScheduledListMapper.xml +++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml @@ -109,7 +109,7 @@ and #{endDate} >= a.TransDate -1 - and b.item_no = #{itemNo} + and b.ItemNo = #{itemNo} order by a.TransDate