合并分支 'lyh-server' 到 'master'
gx 查看合并请求 !2556
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -16,6 +16,7 @@ use App\Models\Ticket\TicketDailyCount; | @@ -16,6 +16,7 @@ use App\Models\Ticket\TicketDailyCount; | ||
| 16 | use App\Models\Ticket\TicketDailyDeptCount; | 16 | use App\Models\Ticket\TicketDailyDeptCount; |
| 17 | use App\Models\Ticket\TicketDailyManageCount; | 17 | use App\Models\Ticket\TicketDailyManageCount; |
| 18 | use App\Models\WorkOrder\TicketLog; | 18 | use App\Models\WorkOrder\TicketLog; |
| 19 | +use App\Models\WorkOrder\TicketProject; | ||
| 19 | use App\Models\WorkOrder\Tickets; | 20 | use App\Models\WorkOrder\Tickets; |
| 20 | use Illuminate\Support\Carbon; | 21 | use Illuminate\Support\Carbon; |
| 21 | 22 | ||
| @@ -76,7 +77,7 @@ class TicketLogic extends BaseLogic | @@ -76,7 +77,7 @@ class TicketLogic extends BaseLogic | ||
| 76 | */ | 77 | */ |
| 77 | public function getTicketList(){ | 78 | public function getTicketList(){ |
| 78 | $ticketsList = Tickets::select(['project_id','title','end_at','end_time','id'])->inRandomOrder()->limit(20)->get(); | 79 | $ticketsList = Tickets::select(['project_id','title','end_at','end_time','id'])->inRandomOrder()->limit(20)->get(); |
| 79 | - $projectModel = new Project(); | 80 | + $projectModel = new TicketProject(); |
| 80 | $ticketLogModel = new TicketLog(); | 81 | $ticketLogModel = new TicketLog(); |
| 81 | $manageModel = new ManageHr(); | 82 | $manageModel = new ManageHr(); |
| 82 | foreach ($ticketsList as $key => $item){ | 83 | foreach ($ticketsList as $key => $item){ |
-
请 注册 或 登录 后发表评论