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/PltStationMapper.java | 6 +++++-
1 files changed, 5 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 499abac..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);
@@ -36,4 +37,7 @@
String selectMaxCode();
List<PltStation> selectStationList(PltStation record);
+
+
+ long selectByLineAndStatus(@Param("lineId") Long lineId, @Param("disabled") boolean disabled);
}
--
Gitblit v1.8.0