From 609e7707dbde1c515b7821a2f48c61bc093b0a49 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Fri, 30 Jan 2026 16:55:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(database):=20=E4=BF=AE=E6=AD=A3=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E5=8E=86=E5=8F=B2=E6=9F=A5=E8=AF=A2=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=A1=A8=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 mat_mat_price_history 表名更正为 mat_price_history - 确保查询能够正确关联到材料基础信息表 - 修复因表名错误导致的数据查询异常问题 --- gear-mat/src/main/resources/mapper/MatPriceHistoryMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gear-mat/src/main/resources/mapper/MatPriceHistoryMapper.xml b/gear-mat/src/main/resources/mapper/MatPriceHistoryMapper.xml index 10d2b5a..0087c4b 100644 --- a/gear-mat/src/main/resources/mapper/MatPriceHistoryMapper.xml +++ b/gear-mat/src/main/resources/mapper/MatPriceHistoryMapper.xml @@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" mm.factory AS factory, mm.unit AS unit, mm.current_stock AS currentStock - FROM mat_mat_price_history t + FROM mat_price_history t LEFT JOIN mat_material mm ON t.material_id = mm.material_id AND mm.del_flag = 0 ${ew.customSqlSegment}