From f50b70fce51257349608837adfdd79e1337858a1 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 19 二月 2025 16:14:50 +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