From 9b63b9770cd02ca73c20196a3e02f971bc6e70e8 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期五, 26 七月 2024 17:39:21 +0800
Subject: [PATCH] mapper 及xml整理
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductMapper.java | 13 +++++++++----
1 files changed, 9 insertions(+), 4 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 baa61eb..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,25 +2,30 @@
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);
List<PltProduct> selectSome(Map<String, Object> params);
int deleteLogicById(Long id);
+
+ 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