From c9d1050cb213cefdd52e23ba446a899591c47b75 Mon Sep 17 00:00:00 2001 From: Lemon Date: Tue, 21 Nov 2023 11:36:07 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=81=E5=A4=8F=E4=BA=A4=E6=8A=95?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=96=B9=E6=B3=95=E6=B7=BB=E5=8A=A0=20where?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jsowell/pile/mapper/PileStationInfoMapper.java | 2 +- .../main/resources/mapper/pile/PileStationInfoMapper.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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} +