update 小程序首页查询站点列表接口新增查询条件筛选

This commit is contained in:
Lemon
2025-03-25 13:25:17 +08:00
parent c4439a059b
commit d6e4131adf
2 changed files with 17 additions and 10 deletions

View File

@@ -370,8 +370,14 @@
<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 test="stationDTO.canopyFlag != null and stationDTO.canopyFlag != ''">
and t1.canopy_flag = #{stationDTO.canopyFlag,jdbcType=VARCHAR}
</if>
<if test="stationDTO.barrierFlag != null and stationDTO.barrierFlag != ''">
and t1.barrier_flag = #{stationDTO.barrierFlag,jdbcType=VARCHAR}
</if>
<if test="stationDTO.parkingLockFlag != null and stationDTO.parkingLockFlag != ''">
and t1.parking_lock_flag = #{stationDTO.parkingLockFlag,jdbcType=VARCHAR}
</if>
<!-- 数据范围过滤 -->
<if test="stationDTO.merchantDeptIds != null and stationDTO.merchantDeptIds.size() != 0">