From 8fb3ee9eae369f7a5c39da8ed69d0e8cea3ae2f8 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 24 十二月 2025 16:24:59 +0800
Subject: [PATCH] 生产加工单上显示图纸和图纸尺寸调整功能,流程卡上图纸尺寸调整功能

---
 north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java
index 77ddde2..6aaee9b 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java
@@ -78,11 +78,7 @@
         List<ProductionScheduling> schedulinglist = JSONArray.parseArray(JSONObject.toJSONString(object.get("scheduling")), ProductionScheduling.class);
         if (!schedulinglist.isEmpty()) {
             for (ProductionScheduling productionScheduling : schedulinglist) {
-                //鏌ヨ宸叉帓浜у伐搴忔暟閲�
-             // Integer num =  productionSchedulingMapper.selectNumberMp(productionScheduling.getOrderId(),productionScheduling.getOrderNumber(),processes);
-
-             productionSchedulingMapper.insertSelective(schedulingId,productionScheduling.getOrderGlassDetail().getOrderId(),productionScheduling.getOrderNumber(),productionScheduling.getTechnologyNumber(),processes,productionScheduling.getSchedulingQuantity(),productionScheduling.getScheduledStartTime(),productionScheduling.getPlanEndTime(),productionScheduling.getNotes());
-               // System.out.println(productionScheduling.getOrderId()+"***"+productionScheduling.getOrderGlassDetail().getOrderId()+"--"+productionScheduling.getOrderDetail().getOrderId());
+             productionSchedulingMapper.insertSelective(schedulingId,productionScheduling.getOrder().getOrderId(),productionScheduling.getOrderNumber(),productionScheduling.getTechnologyNumber(),processes,productionScheduling.getSchedulingQuantity(),productionScheduling.getScheduledStartTime(),productionScheduling.getPlanEndTime(),productionScheduling.getNotes());
             }
             return true;
         }
@@ -99,7 +95,6 @@
         if (!Scheduling.isEmpty()) {
             for (ProductionScheduling productionScheduling : Scheduling) {
                 productionSchedulingMapper.deleteSchedulingMp(productionScheduling.getSchedulingId());
-                // System.out.println(productionScheduling.getOrderNumber()+"***"+productionScheduling.getOrderId());
             }
             return true;
         }
@@ -118,7 +113,6 @@
         if (!schedulinglist.isEmpty()) {
             for (ProductionScheduling productionScheduling : schedulinglist) {
                 productionSchedulingMapper.examineSchedulingMp(productionScheduling.getSchedulingId(),userName,productionScheduling.getSchedulingQuantity(),productionScheduling.getNotes());
-                // System.out.println(productionScheduling.getOrderNumber()+"***"+productionScheduling.getOrderId());
             }
             return true;
         }
@@ -133,7 +127,6 @@
         if (!schedulinglist.isEmpty()) {
             for (ProductionScheduling productionScheduling : schedulinglist) {
                 productionSchedulingMapper.cancelReviewSchedulingMp(productionScheduling.getSchedulingId());
-                // System.out.println(productionScheduling.getOrderNumber()+"***"+productionScheduling.getOrderId());
             }
             return true;
         }

--
Gitblit v1.8.0