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 | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 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 4e28a65..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;
@@ -15,19 +16,13 @@
@Mapper
public interface PltStationMapper {
- int deleteByPrimaryKey(Long id);
-
- int insert(PltStation record);
-
int insertSelective(PltStation record);
PltStation selectByPrimaryKey(Long id);
- long selectByCodeId(Long id,String code);
+ long selectByCodeId(@Param("id") Long id, @Param("code") String code);
int updateByPrimaryKeySelective(PltStation record);
-
- int updateByPrimaryKey(PltStation record);
Long selectSomeCount(Map<String,Object> params);
@@ -35,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