From 80166fd68f21bce3a243e499e4a757c013397f89 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 16 一月 2026 10:58:10 +0800
Subject: [PATCH] 添加新增采购的时候是否推送质检
---
src/main/resources/mapper/production/ProductWorkOrderMapper.xml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
index cd5d97e..0489bbc 100644
--- a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
@@ -39,14 +39,17 @@
</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
SET
report_work = #{reportWork},
- quantity = #{quantity},
- plan_quantity = plan_quantity - #{deductQuantity},
- product_main_id = #{productMainId}
+ plan_quantity = plan_quantity - #{deductQuantity}
WHERE id = #{workOrderId}
</update>
--
Gitblit v1.9.3