From 6d9782f697908a9573a0ad7c33ceb3a9d31c2a9b Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 05 九月 2024 14:16:11 +0800
Subject: [PATCH] 代码优化

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java
index c28b029..8218e39 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java
@@ -2,6 +2,7 @@
 
 import com.dy.pmsGlobal.pojoPlt.PltProduct;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 import java.util.Map;
@@ -22,7 +23,11 @@
 
     List<PltProduct> selectAll(Map<String, Object> params);
 
+    List<PltProduct> selectByOrderId(@Param("orderId") Long orderId);
+
     String selectMaxCode();
 
-    boolean exists(String name, Long id);
+    boolean exists(@Param("name") String name, @Param("id") Long id);
+
+    PltProduct selectByCode(String productCode);
 }
\ No newline at end of file

--
Gitblit v1.8.0