diff --git a/app/api/controller/Maintainentry.php b/app/api/controller/Maintainentry.php index f0ac54d..472c19a 100644 --- a/app/api/controller/Maintainentry.php +++ b/app/api/controller/Maintainentry.php @@ -69,7 +69,7 @@ class Maintainentry extends BaseController //获取已录入人数 $www[] = ['village_id','=',$village_id]; $www[] = ['status','=','1']; - $www[] = ['enter_id','=',JWT_UID]; +// $www[] = ['enter_id','=',JWT_UID]; $have = Db::table('fa_szxc_information_usermsg')->where($www)->count(); $man_num = Db::table('fa_szxc_information_usermsg')->where($www)->where('gender',1)->count(); $woman_num = Db::table('fa_szxc_information_usermsg')->where($www)->where('gender',2)->count(); @@ -1703,8 +1703,8 @@ class Maintainentry extends BaseController } } // 获取种植信息 -// $www['user_id'] = $user_id; -// $planting = Db::table('fa_szxc_information_planting')->where($www)->field('id,crops_msg,land_area')->find(); + $www['user_id'] = $user_id; + $planting = Db::table('fa_szxc_information_planting')->where($www)->field('id,crops_msg,land_area')->find(); // if($planting && $planting['crops_msg']){ // $crops_msg = json_decode($planting['crops_msg'], 1); // $crops_msg = array_filter(array_column($crops_msg,'name'));