|
|
|
@ -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 {
|
|
|
|
|