From dcc6e79df110c3edfae128813bc90d1ade104fe8 Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Tue, 16 Sep 2025 13:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=9F=A5=E8=AF=A2=20SQL=20=E8=AF=AD=E5=8F=A5=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=88=97=E5=90=8D=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 DevInfoMapper.xml 文件中,将 identify_code 列名前添加表别名 d - 此修改解决了 SQL 语句中列名引用不明确的问题,确保查询能够正确执行 --- .../src/main/resources/mapper/material/device/DevInfoMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml index 86a85c1..972fefe 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/device/DevInfoMapper.xml @@ -225,7 +225,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"