diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java index 4202c29be..68ada5aab 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java @@ -114,7 +114,7 @@ public interface PileStationInfoMapper { * @param dto * @return */ - List NXJTQueryStationsInfo(NXJTQueryStationInfoDTO dto); + List NXJTQueryStationsInfo(@Param("dto") NXJTQueryStationInfoDTO dto); PileStationInfo queryInfoByDeptId(@Param("deptId") String deptId); } diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml index 81838d7e5..ff743940e 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml @@ -550,6 +550,12 @@ support_order AS supportOrder FROM pile_station_info + where del_flag = '0' + and open_flag = '1' + and public_flag = '1' + + and id = #{dto.stationId,jdbcType=VARCHAR} +