From d404864e22a98cf1a81177041a264ed31aa56222 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 13 十月 2026 08:14:59 +0800
Subject: [PATCH] fix: 更新查询逻辑以支持产品型号的批号匹配,调整配置文件以更改文件路径和数据库设置
---
src/main/resources/mapper/basic/ProductModelMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/basic/ProductModelMapper.xml b/src/main/resources/mapper/basic/ProductModelMapper.xml
index 0a540bf..9a2f00e 100644
--- a/src/main/resources/mapper/basic/ProductModelMapper.xml
+++ b/src/main/resources/mapper/basic/ProductModelMapper.xml
@@ -9,7 +9,6 @@
<result column="product_id" property="productId" />
<result column="model" property="model" />
<result column="unit" property="unit" />
- <result column="speculative_trading_name" property="speculativeTradingName" />
<result column="tenant_id" property="tenantId" />
<result column="product_name" property="productName" />
<result column="product_id" property="productId" />
@@ -138,6 +137,7 @@
pm.model as model
from product_model pm
left join product p on p.id = pm.product_id
+ where p.id is not null
order by p.id,pm.id desc
</select>
--
Gitblit v1.9.3