小程序查询站点列表新增 地区编码搜索条件

This commit is contained in:
Lemon
2023-07-26 13:23:50 +08:00
parent be84d94b42
commit 328a2b1f6e
2 changed files with 8 additions and 0 deletions

View File

@@ -34,6 +34,11 @@ public class QueryStationDTO extends BaseEntity {
*/
private String stationAddress;
/**
* 地区编码
*/
private String areaCode;
/**
* 运营商id
*/

View File

@@ -331,6 +331,9 @@
<if test="stationDTO.stationAddress != null and stationDTO.stationAddress != ''">
and t1.address LIKE '%${stationDTO.stationAddress}%'
</if>
<if test="stationDTO.areaCode != null and stationDTO.areaCode != ''">
and t1.area_code LIKE '%${stationDTO.areaCode}%'
</if>
<if test="stationDTO.publicFlag != null and stationDTO.publicFlag != ''">
and t1.public_flag = #{stationDTO.publicFlag,jdbcType=VARCHAR}
</if>