From 2d35acb93b1654c660153edaddd55a50bf447fe4 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 14 八月 2024 17:05:34 +0800
Subject: [PATCH] fix addAssistant
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java | 5 ++++-
1 files changed, 4 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..40a34b3 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;
@@ -24,5 +25,7 @@
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