|
|
@ -2642,7 +2642,7 @@ class ExportController extends Controller
|
|
|
|
// ->where($map)
|
|
|
|
// ->where($map)
|
|
|
|
// ->page($page,$row)
|
|
|
|
// ->page($page,$row)
|
|
|
|
// ->select();
|
|
|
|
// ->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'])) {
|
|
|
|
if (!empty($first[0]['after_value'])) {
|
|
|
|
$first = number_format($first[0]['after_value'],2,'.','');
|
|
|
|
$first = number_format($first[0]['after_value'],2,'.','');
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|