update 后管站点页面添加字段、增加更多查询条件

This commit is contained in:
Lemon
2023-09-18 10:48:39 +08:00
parent d2e1424139
commit 66ddac6730
4 changed files with 79 additions and 2 deletions

View File

@@ -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 @@
<if test="stationDTO.merchantId != null and stationDTO.merchantId != ''">
and t1.merchant_id = #{stationDTO.merchantId,jdbcType=VARCHAR}
</if>
<if test="stationDTO.stationAdminName != null and stationDTO.stationAdminName != ''">
and t1.station_admin_name = #{stationDTO.stationAdminName,jdbcType=VARCHAR}
</if>
<if test="stationDTO.address != null and stationDTO.address != ''">
and t1.address like concat('%', #{stationDTO.address,jdbcType=VARCHAR}, '%')
</if>
<if test="stationDTO.stationTel != null and stationDTO.stationTel != ''">
and t1.station_tel = #{stationDTO.stationTel,jdbcType=VARCHAR}
</if>
<!-- 数据范围过滤 -->
<if test="stationDTO.merchantDeptIds != null and stationDTO.merchantDeptIds.size() != 0">
and t3.dept_id in