From 552463e8591adc13ad6df1f4ab8d2284c7a591aa Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期五, 09 八月 2024 17:19:55 +0800
Subject: [PATCH] mapper 及xml整理

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 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 de60f68..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);
 
@@ -29,4 +30,14 @@
 
     int deleteLogicById(Long id);
 
+    List<PltStation> selectAll();
+
+    List<PltStation> selectByName(String name);
+
+    String selectMaxCode();
+
+    List<PltStation> selectStationList(PltStation record);
+
+
+    long selectByLineAndStatus(@Param("lineId") Long lineId, @Param("disabled") boolean disabled);
 }

--
Gitblit v1.8.0