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/PltProductionLineMapper.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java
index 5434162..5777468 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltProductionLineMapper.java
@@ -2,6 +2,7 @@
 
 import com.dy.pmsGlobal.pojoPlt.PltProductionLine;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 import java.util.Map;
@@ -22,7 +23,7 @@
     int insertSelective(PltProductionLine record);
 
     PltProductionLine selectByPrimaryKey(Long id);
-    Long selectByNameId(Long id,String name);
+    Long selectByNameId(@Param("id") Long id, @Param("name") String name);
 
     int updateByPrimaryKeySelective(PltProductionLine record);
 

--
Gitblit v1.8.0