<?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>
|