From 591e3b8a10ed15023f3ad9e5a72a887ef89b0bb2 Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期一, 26 八月 2024 20:47:46 +0800 Subject: [PATCH] 修改判空方式 --- 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