|
|
@@ -46,7 +46,7 @@ class PropertyOrderLogic extends BaseLogic
|
|
|
}
|
|
|
$order = PropertyOrder::where(['property_user_id'=>$propertyUserId,'property_head_id'=>$params['property_head_id'],'order_status'=>0])->where('work_id','<>',0)->order('id desc')->findOrEmpty();
|
|
|
Log::info('物业下单-'.$order);
|
|
|
- if(empty($order)){
|
|
|
+ if($order->isEmpty()){
|
|
|
Log::info('物业下单-'.json_encode([
|
|
|
'property_head_id' => $params['property_head_id'],
|
|
|
'property_user_id' => $propertyUserId,
|