From 377a567e83d410cdbc75edd3fe69fdc28bf5a5b1 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 28 八月 2026 23:09:05 +0800
Subject: [PATCH] fix(sales): 统一调整日期序列化时区为GMT+8
---
src/main/resources/mapper/basic/ProductModelMapper.xml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/basic/ProductModelMapper.xml b/src/main/resources/mapper/basic/ProductModelMapper.xml
index 0a540bf..e725dd5 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" />
@@ -24,7 +23,7 @@
</resultMap>
<select id="listPageProductModel" resultMap="ProductModelVoResultMap">
- select pm.*,p.product_name
+ select pm.*,p.product_name, ifnull(p.standard_quantity, 0) as product_standard_quantity
from product_model pm
left join product p on pm.product_id = p.id
<where>
--
Gitblit v1.9.3