From f88c07d7941a0c18bb097f20618c18b9d2418ccc Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 11 九月 2024 15:42:51 +0800 Subject: [PATCH] next node --- 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