From 0873fa3e23d0ca21af38473c6ab1b37f91190399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Tue, 14 Feb 2023 15:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Statistics.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/api/controller/Statistics.php b/app/api/controller/Statistics.php index 0a6c6c7..e16a84e 100644 --- a/app/api/controller/Statistics.php +++ b/app/api/controller/Statistics.php @@ -520,6 +520,10 @@ class Statistics extends BaseController ->join(['fa_szxc_information_planting'=>'p'], 'u.user_id = p.user_id')->sum('p.breed_area'); //种植面积 $zz_mianji = $land_area_num - $sum_216 - $waste_land_area; + + if($land_area_num >= 100000){ + $land_area_num = bcdiv($land_area_num,10000).'万'; + } $return = [ 'villagernum' => 1000, 'mannum' => 600,