guoyuji
2024-09-26 8c29a327707574f1e04cd25218e05ba9b4c8e4a8
north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java
@@ -126,4 +126,19 @@
            return false;
        }
    }
    public boolean cancelReviewSchedulingSv(Map<String, Object> object) {
        List<ProductionScheduling> schedulinglist = JSONArray.parseArray(JSONObject.toJSONString(object.get("scheduling")), ProductionScheduling.class);
        if (!schedulinglist.isEmpty()) {
            for (ProductionScheduling productionScheduling : schedulinglist) {
                productionSchedulingMapper.cancelReviewSchedulingMp(productionScheduling.getSchedulingId());
                // System.out.println(productionScheduling.getOrderNumber()+"***"+productionScheduling.getOrderId());
            }
            return true;
        }
        else {
            return false;
        }
    }
}