陶杰
2025-01-07 23ae87b2b99947e89cfa5fde81937870279e3180
src/main/resources/mapper/configParam/ConfigCustomerServiceMapper.xml
@@ -7,8 +7,11 @@
        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.type != null and dto.type != ''">
            and t.type= #{dto.type}
        </if>
        <if test="dto.name != null and dto.name != ''">
            and t.name like concat('%', #{dto.name}, '%')
            and t.name= #{dto.name}
        </if>
    </select>