From fb1bc228aade111d2a0a019c056fc4c192bd11de Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期二, 13 一月 2026 14:08:47 +0800
Subject: [PATCH] 产品维护-产品删除、产品规格删除时查询其销售/采购记录并做出提示
---
src/main/resources/mapper/production/ProductWorkOrderMapper.xml | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
index cd5d97e..ac0348a 100644
--- a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
@@ -39,6 +39,11 @@
</if>
</where>
</select>
+ <select id="selectProductWorkOrderDtoList" resultType="com.ruoyi.production.dto.ProductWorkOrderDto">
+ select *
+ from product_work_order pwo
+ left join product_order po on po.id = pwo.product_order_id
+ </select>
<update id="updatePlanQuantity" parameterType="java.util.Map">
UPDATE product_work_order
--
Gitblit v1.9.3