摘要: $field = 'convert(avg(mood),decimal(4,0)) mood,convert(avg(hrv),decimal(4,0)) hrv,convert(avg(heart_rate),decimal(4,0)) heart_rate,convert(avg(respiratory_rate),decimal(4,0)) respiratory_rate'; 阅读全文
posted @ 2018-11-12 09:58 邹柯 阅读(1726) 评论(0) 推荐(0) 编辑
摘要: /** * 获取某年第几周的开始日期和结束日期 * @param int $year * @param int $week 第几周; */ public function weekday($year, $week = 1) { $year_start = mktime(0, 0, 0, 1, 1, $year); ... 阅读全文
posted @ 2018-11-12 09:46 邹柯 阅读(1169) 评论(0) 推荐(0) 编辑