From d175d9c401fb97ebe6a580005a8c9ad5fedccb6b Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期一, 29 七月 2024 17:02:41 +0800
Subject: [PATCH] add other method
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 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 6833a87..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,21 +2,18 @@
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;
@Mapper
public interface PltProductMapper {
- int insert(PltProduct record);
-
int insertSelective(PltProduct record);
PltProduct selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(PltProduct record);
-
- int updateByPrimaryKey(PltProduct record);
Long selectSomeCount(Map<String, Object> params);
@@ -24,5 +21,11 @@
int deleteLogicById(Long id);
- List<PltProduct> selectAll();
+ List<PltProduct> selectAll(Map<String, Object> params);
+
+ String selectMaxCode();
+
+ boolean exists(@Param("name") String name, @Param("id") Long id);
+
+ PltProduct selectByCode(String productCode);
}
\ No newline at end of file
--
Gitblit v1.8.0