From 4574296e4453f0cbb75a5fdb8bb39fa43c87297c Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期四, 15 八月 2024 15:07:26 +0800
Subject: [PATCH] @param

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java
index a28094c..b10aae3 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java
@@ -2,6 +2,7 @@
 
 import com.dy.pmsGlobal.pojoPlt.PltStation;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 import java.util.Map;
@@ -19,7 +20,7 @@
 
     PltStation selectByPrimaryKey(Long id);
 
-    long selectByCodeId(Long id,String code);
+    long selectByCodeId(@Param("id") Long id, @Param("code") String code);
 
     int updateByPrimaryKeySelective(PltStation record);
 
@@ -38,5 +39,5 @@
     List<PltStation> selectStationList(PltStation record);
 
 
-    long selectByLineAndStatus(Long lineId, boolean disabled);
+    long selectByLineAndStatus(@Param("lineId") Long lineId, @Param("disabled") boolean disabled);
 }

--
Gitblit v1.8.0