From d64fbf9b6297d13472c920ccdb7eea4d5e98babe Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期二, 21 四月 2026 14:28:59 +0800
Subject: [PATCH] refactor(database): 移除投机交易名称字段
---
src/main/resources/mapper/production/ProductionProductMainMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index a122e90..eff9edf 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -69,7 +69,7 @@
pm.model as product_model_name,
pm.unit,
slpa.process,
- ppo.quantity,
+ slpa.finished_num as quantity,
slpa.work_hours,
slpa.work_hours * slpa.finished_num AS wages
FROM
@@ -95,6 +95,7 @@
and slpa.scheduling_date < date_add(#{ew.entryDateEnd}, INTERVAL 1 DAY)
</if>
</where>
+ order by ppm.id desc
</select>
<select id="listMain" resultType="java.lang.Long">
SELECT ppm.id FROM production_product_main ppm
--
Gitblit v1.9.3