From 768feddf7a1ded7b22b1382e7b8039a12f8015a0 Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期一, 19 八月 2024 14:44:15 +0800 Subject: [PATCH] 订单表 --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPlt/PltStationMapper.java | 10 +++++++++- 1 files changed, 9 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 eadc2a7..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); @@ -31,5 +32,12 @@ 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