liugc 1 ano atrás
pai
commit
f5d34eb849

+ 1 - 1
app/adminapi/lists/works/ServiceWorkLists.php

@@ -194,7 +194,7 @@ class ServiceWorkLists extends BaseAdminDataLists implements ListsSearchInterfac
             ->where($this->searchWhere)
             ->where($this->queryWhere())
             ->where($this->queryDataWhere())
-            ->field(['id', 'spare_total', 'work_total','work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'goods_category_ids', 'goods_category_id', 'base_service_fee', 'service_fee', 'work_status','work_pay_status', 'service_status', 'dispatch_time', 'receive_time', 'appointment_time', 'finished_images', 'finished_time', 'master_worker_id', 'work_amount', 'work_type', 'create_time', 'update_time','lon', 'lat','appoint_approval','refund_approval','finally_door_time','property_activity_id','order_effective_id','estimated_finish_time','third_type','area_name'])
+            ->field(['id', 'spare_total','external_platform_id', 'work_total','work_sn', 'real_name', 'mobile', 'address', 'title', 'category_type', 'goods_category_ids', 'goods_category_id', 'base_service_fee', 'service_fee', 'work_status','work_pay_status', 'service_status', 'dispatch_time', 'receive_time', 'appointment_time', 'finished_images', 'finished_time', 'master_worker_id', 'work_amount', 'work_type', 'create_time', 'update_time','lon', 'lat','appoint_approval','refund_approval','finally_door_time','property_activity_id','order_effective_id','estimated_finish_time','third_type','area_name'])
             ->append(['service_status_text','category_type_text','third_type_text'])
             ->limit($this->limitOffset, $this->limitLength)
             ->order(['id' => 'desc'])

+ 1 - 1
app/common/logic/TableDataLogic.php

@@ -178,6 +178,6 @@ class TableDataLogic extends BaseLogic
 
     public static function externalPlatform()
     {
-        return ExternalPlatform::field('id,name,id as value,"data_table_externalPlatform" as type_value')->select()->toArray();
+        return ExternalPlatform::field('id,name,CONVERT(id, CHAR) as value,"data_table_externalPlatform" as type_value')->select()->toArray();
     }
 }