ThinkPHP5开发:查询去年各月总和
$lastYearNums = $applytime_from:(Ycrete_time_at\CON_CAT \'),"-", date_format (from_unixtime(create_time),\'%m\'))' =>'年月','count("id ") as Total' ] ) ->where('(date_format(from_unixtime(creation_time),\'%Y\')❙.‷‷ '$'.‷ .' 或( date_format(from_unixtime(creation_time),\'%Y\')='.$yearStart.' 和creation_date ,\'%m\')>'. $月开始.'))')) > 组) 射线(); |
版权声明
本文仅代表作者观点,不代表Code前端网立场。
本文系作者Code前端网发表,如需转载,请注明页面地址。
code前端网
