| | |
| | | <result column="img" property="img" /> |
| | | <result column="content" property="content" /> |
| | | <result column="state" property="state" /> |
| | | <result column="insertTime" property="insertTime" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, userId, img, content, state, insertTime |
| | | id, userId, img, content, state |
| | | </sql> |
| | | <select id="listAll" resultType="com.ruoyi.management.vo.FeedbackVO"> |
| | | select t1.*,t2.name as name ,t2.phone as phone |
| | |
| | | and t1.state = #{req.state} |
| | | </if> |
| | | <if test="null != req.startTime"> |
| | | and t1.insertTime between #{req.startTime} and #{req.endTime} |
| | | and t1.createTime between #{req.startTime} and #{req.endTime} |
| | | </if> |
| | | order by t1.state,t1.insertTime desc |
| | | order by t1.state,t1.createTime desc |
| | | </select> |
| | | |
| | | |