From 603c30271110d43b9c3d0f1aea82c20561d54111 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 12 五月 2025 23:26:13 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 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