cloudroam
2025-01-07 1d0fc6126fb664e81a1a3737d8eaf4a618e7cb0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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.mzl.flower.mapper.configParam.ConfigCustomerServiceMapper">
 
 
    <select id="queryPage" resultType="com.mzl.flower.dto.response.configParam.ConfigCustomerServiceVO">
        select t.*, u.nick_name createName from t_config_customer_service t
        left join t_user u on t.create_by = u.id
        where t.deleted= 0
        <if test="dto.name != null and dto.name != ''">
            and t.name like concat('%', #{dto.name}, '%')
        </if>
    </select>
 
</mapper>