|
|
@@ -30,7 +30,7 @@ class PropertyGroupSettlementLists extends BaseApiDataLists implements ListsSear
|
|
|
public function queryWhere()
|
|
|
{
|
|
|
// 指定用户
|
|
|
- $propertyHeadId = 40;//(int)PropertyHead::where('user_id',$this->userId)->value('id');
|
|
|
+ $propertyHeadId = (int)PropertyHead::where('user_id',$this->userId)->value('id');
|
|
|
$where[] = ['property_head_id', '=', $propertyHeadId];
|
|
|
if (isset($this->params['start_time']) && !empty($this->params['start_time'])) {
|
|
|
$monthStart = strtotime(date("Y-m-01",strtotime($this->params['start_time'])));
|