提交 2f99bcf4 作者: 邹鹏

客服消息查询接口加入类型和发送状态筛选条件

上级 4052305f
......@@ -22,5 +22,7 @@ public class CustomerMessageQueryDTO extends PageParams implements Serializable
private String date;
private String type;
private Integer sendStatus;
}
......@@ -51,6 +51,13 @@
<if test="queryDto.date != null and queryDto.date != ''">
and cg.post_time like concat('%', #{queryDto.date}, '%')
</if>
<if test="queryDto.type != null and queryDto.type != ''">
and cg.type = #{queryDto.type}
</if>
<if test="queryDto.sendStatus != null">
and cg.send_status = #{queryDto.sendStatus}
</if>
order by cg.gmt_create desc
</select>
</mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论