laravel的时间段orm查询

public function payRollList($time) { $member_phone = Session::get(phone’); $engineer = Engineer::getEngineerByPhone($member_phone); $start=date(‘Y-m-01’,strtotime($time));//获取指定月份的第一天 $end=date(‘Y-m-t’,strtotime($time)); //获取指定月份的最后一天 $repair=DB::table(‘order’) ->where(‘repair_user’,$engineer[‘me

Read more