diff --git a/Application/Admin/Controller/ExportController.class.php b/Application/Admin/Controller/ExportController.class.php index 84e6152e5..8c4465138 100644 --- a/Application/Admin/Controller/ExportController.class.php +++ b/Application/Admin/Controller/ExportController.class.php @@ -2642,7 +2642,7 @@ class ExportController extends Controller // ->where($map) // ->page($page,$row) // ->select(); - $first = M('value_detail_log', 'tab_')->field('after_value')->where($map)->limit(1)->order('create_time')->select(); + $first = M('value_detail_log', 'tab_')->field('after_value')->where($map)->limit(1)->order('create_time desc')->select(); if (!empty($first[0]['after_value'])) { $first = number_format($first[0]['after_value'],2,'.',''); }else {