From cad671a443f34b411ed4a69cb94490b1121102ce Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 04 三月 2025 17:02:56 +0800
Subject: [PATCH] 优化版图显示、钢化模拟计算保存、结果显示

---
 north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java b/north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java
index 52b12a7..8b5f4b1 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java
@@ -7,7 +7,6 @@
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
 import com.example.erp.common.Constants;
-import com.example.erp.entity.sd.Order;
 import com.example.erp.entity.sd.Product;
 import com.example.erp.entity.sd.ProductDetail;
 import com.example.erp.exception.ServiceException;
@@ -174,4 +173,9 @@
         map.put("detail",productDetailList);
         return map;
     }
+
+    public List<Product> otherSysGetProduct() {
+        return productMapper.selectList(new QueryWrapper<Product>().eq("state",1)
+                .orderByDesc("id"));
+    }
 }

--
Gitblit v1.8.0