Преглед на файлове

新增work_amount字段

liugc преди 1 година
родител
ревизия
a1032cf2c6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/workerapi/lists/ServiceWorkLists.php

+ 1 - 1
app/workerapi/lists/ServiceWorkLists.php

@@ -73,7 +73,7 @@ class ServiceWorkLists extends BaseWorkerDataLists
                 break;
                 break;
         }
         }
         $list = ServiceWork::where($where)
         $list = ServiceWork::where($where)
-            ->field(['id', 'work_sn', 'address', 'title', 'work_status', 'service_status', 'work_pay_status','appointment_time','receive_time','base_service_fee','service_fee'])
+            ->field(['id', 'work_sn', 'address', 'title', 'work_status', 'service_status', 'work_pay_status','appointment_time','receive_time','base_service_fee','service_fee','work_amount'])
             ->append(['work_status_text','service_status_text'])
             ->append(['work_status_text','service_status_text'])
             ->limit($this->limitOffset, $this->limitLength)
             ->limit($this->limitOffset, $this->limitLength)
             ->order(['appointment_time' => 'asc'])//上门时间排序
             ->order(['appointment_time' => 'asc'])//上门时间排序