|
@@ -18,7 +18,7 @@ class GetKennelDetailWorkCommand extends CConsoleCommand {
|
|
|
|
|
|
public function getKennel()
|
|
|
{
|
|
|
- $end_time = date("Y-m-d 14:00:00");
|
|
|
+ $end_time = date("Y-m-d 13:59:59");
|
|
|
$start_time = date("Y-m-d 14:00:00",strtotime("-1 day"));
|
|
|
$criteria = new EMongoCriteria();
|
|
|
$criteria->addCond('time','>=',strtotime(date('Y-m-d H:i:s',strtotime($start_time))));
|