From c5ea85558fea4d82b5368073c598a30f905c4bdc Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期五, 23 十月 2026 17:11:49 +0800
Subject: [PATCH] feat:新增统计标注功能

---
 platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml b/platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml
index b401af1..c9ada1d 100644
--- a/platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml
+++ b/platformx-business-finance-biz/src/main/resources/mapper/ProductMapper.xml
@@ -20,7 +20,7 @@
 		SELECT
 			t.id,
 			t.product_name,
-			t.main_code,
+			t.unit_name,
 			t.erp_code,
 			t.product_type,
 			t.tax_rate,
@@ -47,7 +47,7 @@
 		SELECT
 			t.id,
 			CONCAT(t.product_name,IFNULL(t.product_type,'')) product_name,
-			t.main_code,
+			t.unit_name,
 			t.erp_code,
 			t.product_type,
 			t.tax_rate,
@@ -108,7 +108,7 @@
 		SELECT
 		t.id,
 		CONCAT(t.product_name,IFNULL(t.product_type,'')) product_name,
-		t.main_code,
+		t.unit_name,
 		t.erp_code,
 		t.product_type,
 		t.tax_rate,
@@ -163,13 +163,13 @@
 				</foreach>
 			</otherwise>
 		</choose>
-		and ( t.comp_id = 2089995177814495234  or t.comp_id = 2089996921978040321 or t.comp_id = 2089997578009128962)
+		and ( t.comp_id = 2089995177814495234  or t.comp_id = 2101966257365045249)
 	</select>
     <select id="pageScope" resultType="com.by4cloud.platformx.business.entity.Product">
 		SELECT
 			t.id,
 			t.product_name,
-			t.main_code,
+			t.unit_name,
 			t.erp_code,
 			t.product_type,
 			t.tax_rate,
@@ -202,7 +202,7 @@
 		SELECT
 		t.id,
 		t.product_name,
-		t.main_code,
+		t.unit_name,
 		t.erp_code,
 		t.product_type,
 		t.tax_rate,

--
Gitblit v1.9.1