huliguo
2 天以前 5d7b65670282a4fad015e37d567cfa171b162052
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.ruoyi.errand.mapper.FeedbackMapper">
 
 
    <select id="getFeedbackPageList" resultType="com.ruoyi.errand.object.vo.sys.FeedbackPageListVO">
        select
            id,name,phone,content,create_time,status
        from
            t_feedback
        where
            del_flag=0
        <if test="dto.name != null and dto.name !='' ">
            and name like concat('%',#{dto.name},'%')
        </if>
        <if test="dto.phone != null and dto.phone !='' ">
            and phone like concat('%',#{dto.phone},'%')
        </if>
        <if test="dto.status != null  ">
            and status= #{dto.status}
        </if>
    </select>
</mapper>