liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xiaopeng.maintenance.mapper.XpCheckLocationMapper">
 
    <select id="pageList" resultType="com.xiaopeng.api.model.maintenance.XpCheckLocation">
        select id,location_address,location_range,location_lon,location_lat,status,create_time
        from xp_check_location
        <where>
            <if test="query.locationAddress != null and query.locationAddress != ''">
                and location_address like concat('%',#{query.locationAddress},'%')
            </if>
            AND is_deleted = 0
            AND type = #{query.type}
        </where>
        order by create_time desc
    </select>
</mapper>