From aa0e6f6b4db848ba5eae01b9932e4a65eba8a2f4 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期一, 07 九月 2026 12:09:26 +0800
Subject: [PATCH] fix: 1

---
 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