| | |
| | | <mapper namespace="com.stylefeng.guns.modular.system.dao.FeedBackMapper"> |
| | | |
| | | |
| | | <select id="list" resultType="com.stylefeng.guns.modular.system.dto.FeedBackVo"> |
| | | |
| | | SELECT tf.insert_time as insertTime, au.nickname,au.phone,tf.content |
| | | from t_feedback tf |
| | | LEFT JOIN t_app_user au ON tf.app_user_id =au.id |
| | | <where> |
| | | <if test="null != name and '' != name"> |
| | | and au.nickname like CONCAT('%', #{name}, '%') |
| | | </if> |
| | | <if test="null != phone and '' != phone"> |
| | | and au.phone like CONCAT('%', #{phone}, '%') |
| | | </if> |
| | | |
| | | |
| | | </where> |
| | | |
| | | |
| | | </select> |
| | | </mapper> |