소스 검색

Merge branch 'group_0313'

dongxiaoqin 11 달 전
부모
커밋
7614e7eddb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/lists/property/PropertyGroupSettlementLists.php

+ 1 - 1
app/api/lists/property/PropertyGroupSettlementLists.php

@@ -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'])));