From 66ddac67308deb403af427047192713eacf08bd8 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 18 Sep 2023 10:48:39 +0800 Subject: [PATCH] =?UTF-8?q?update=20=20=E5=90=8E=E7=AE=A1=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E3=80=81=E5=A2=9E=E5=8A=A0=E6=9B=B4=E5=A4=9A=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jsowell/pile/dto/QueryStationDTO.java | 15 +++++++ .../jsowell/pile/vo/web/PileStationVO.java | 10 +++++ .../mapper/pile/PileStationInfoMapper.xml | 11 +++++ jsowell-ui/src/views/pile/station/index.vue | 45 ++++++++++++++++++- 4 files changed, 79 insertions(+), 2 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/dto/QueryStationDTO.java b/jsowell-pile/src/main/java/com/jsowell/pile/dto/QueryStationDTO.java index 66f10db61..8cea6c6c6 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/dto/QueryStationDTO.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/dto/QueryStationDTO.java @@ -46,6 +46,21 @@ public class QueryStationDTO extends BaseEntity { */ private String merchantId; + /** + * 站点管理员名称 + */ + private String stationAdminName; + + /** + * 地址 + */ + private String address; + + /** + * 管理员电话 + */ + private String stationTel; + /** * 站点经度 */ diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileStationVO.java b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileStationVO.java index db4772adc..7191cc85f 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileStationVO.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/PileStationVO.java @@ -79,6 +79,16 @@ public class PileStationVO { */ private String merchantAdminName; + /** + * 管理员电话 + */ + private String managerPhone; + + /** + * 站点管理员 + */ + private String stationAdminName; + /** * 站点状态 */ diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml index 026886283..c7bd63ffa 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml @@ -319,7 +319,9 @@ t1.pictures as pictures, t2.merchant_id as merchantId, t3.merchant_name as merchantName, + t1.station_admin_name as stationAdminName, t3.manager_name as merchantAdminName, + t3.manager_phone as managerPhone, t1.station_tel as stationTel, t1.match_cars as matchCars, t1.station_lng as stationLng, @@ -351,6 +353,15 @@ and t1.merchant_id = #{stationDTO.merchantId,jdbcType=VARCHAR} + + and t1.station_admin_name = #{stationDTO.stationAdminName,jdbcType=VARCHAR} + + + and t1.address like concat('%', #{stationDTO.address,jdbcType=VARCHAR}, '%') + + + and t1.station_tel = #{stationDTO.stationTel,jdbcType=VARCHAR} + and t3.dept_id in diff --git a/jsowell-ui/src/views/pile/station/index.vue b/jsowell-ui/src/views/pile/station/index.vue index 218f07631..449dbb181 100644 --- a/jsowell-ui/src/views/pile/station/index.vue +++ b/jsowell-ui/src/views/pile/station/index.vue @@ -26,6 +26,34 @@ @keyup.enter.native="handleQuery" /> + + + + + + + + + + + + + - + +