From c686c5005c803d03ed551fd0117d88bd2bf9fd7c Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期五, 26 七月 2024 15:58:10 +0800 Subject: [PATCH] 修改参数注释 --- 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..45dffb1 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(Long lineId, boolean disabled); } -- Gitblit v1.8.0