接口修改2
This commit is contained in:
parent
9f1a87c01b
commit
e1bba828d2
@ -546,12 +546,16 @@ class Statistics extends BaseController
|
|||||||
$num2 = Db::table('fa_szxc_information_usermsg')->where($map)->where('gender',1)->count();
|
$num2 = Db::table('fa_szxc_information_usermsg')->where($map)->where('gender',1)->count();
|
||||||
//女
|
//女
|
||||||
$num3 = Db::table('fa_szxc_information_usermsg')->where($map)->where('gender',2)->count();
|
$num3 = Db::table('fa_szxc_information_usermsg')->where($map)->where('gender',2)->count();
|
||||||
|
//已婚
|
||||||
|
$num4 = Db::table('fa_szxc_information_usermsg')->where($map)->where('marital_status',170)->count();
|
||||||
|
//未婚
|
||||||
|
$num5 = Db::table('fa_szxc_information_usermsg')->where($map)->where('marital_status',169)->count();
|
||||||
$return = [
|
$return = [
|
||||||
'villagernum' => $num1,
|
'villagernum' => $num1,
|
||||||
'mannum' => $num2,
|
'mannum' => $num2,
|
||||||
'wumannum' => $num3,
|
'wumannum' => $num3,
|
||||||
'married' => 600,
|
'married' => $num4,
|
||||||
'unmarried' => 400,
|
'unmarried' => $num5,
|
||||||
'skillnum' => 20,
|
'skillnum' => 20,
|
||||||
'policynum' => 20,
|
'policynum' => 20,
|
||||||
'agriculture' => 20,
|
'agriculture' => 20,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user