fix(database): 修正价格历史查询中的表名错误
- 将 mat_mat_price_history 表名更正为 mat_price_history - 确保查询能够正确关联到材料基础信息表 - 修复因表名错误导致的数据查询异常问题
This commit is contained in:
@@ -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}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user