表 SQL:根据创建月份查询消息
SELECT * from his_message_publish where MONTH(create_time) = MONTH('2021-07-27 17:13:31') and year(create_time) = year('2021-07-27 17:13:31')
参考地址 https://my.oschina.net/kuchawyz/blog/2252228