gogs 1 năm trước cách đây
mục cha
commit
de67ee8f8d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -882,7 +882,7 @@ class ConstructionService extends Service
 
         $detail['install_man_title'] = $employee_key_list[$detail['install_man']] ?? "";
         $detail['sale_man_title'] = $employee_key_list[$detail['sale_man']] ?? "";
-        $img_list = ConstructionFile::where('order_number',$detail['construction_order_number'])->select('file','name','mark')->get()->toArray();
+        $img_list = ConstructionFile::where('order_number',$detail['construction_order_number'])->where('del_time',0)->select('file as url','name','mark')->get()->toArray();
         $detail['file'] = $img_list;
         return [true,$detail];
     }