public function startInspect($request, $response)
 {
     /*{{{*/
     $inspectGroup = DAL::get()->find('InspectGroup', $request->inspectgroupid);
     $nextTicket = InspectClient::getInstance()->pickTicket($this->inspector, $inspectGroup);
     if ($nextTicket->isNull()) {
         // 没有下一条工单了
         echo "没有工单了,审核结束";
         return parent::DIRECT_OUTPUT;
     } else {
         $source = $nextTicket->source;
         // 还有下一条
         if (DoctorCommentInspectRule::isDoctorCommentGroup($inspectGroup)) {
             $response->setRedirect('/doctorcomment/showdetail?id=' . $source->id . '&ticketid=' . $nextTicket->id);
         } else {
             if (DoctorCommentInspectRule::isDoctorCommentTelGroup($inspectGroup)) {
                 $response->setRedirect('/commentconfirm/edit?ticketid=' . $nextTicket->id);
             } else {
                 if (DoctorCommentInspectRule::isDoctorCommentContentGroup($inspectGroup)) {
                     $response->setRedirect('/doctorcomment/commentcontentaudit?id=' . $source->id . '&ticketid=' . $nextTicket->id);
                 } else {
                     if (DoctorCommentInspectRule::isDoctorCommentPostGroup($inspectGroup)) {
                         $response->setRedirect('/commentpost/edit?id=' . $source->id . '&ticketid=' . $nextTicket->id);
                     } else {
                         if (DoctorCommentInspectRule::isDoctorCommentBackGroup($inspectGroup)) {
                             $response->setRedirect('/doctorcomment/showdetail?id=' . $source->id . '&ticketid=' . $nextTicket->id);
                         } else {
                             if (DoctorCommentInspectRule::isDoctorCommentDoctorFinal($inspectGroup)) {
                                 $response->setRedirect('/commentdoctor/showdetail?id=' . $source->id . '&ticketid=' . $nextTicket->id);
                             } else {
                                 if (DoctorCommentInspectRule::isDoctorRankWarningGroup($inspectGroup)) {
                                     $response->setRedirect('/commentdoctor/showrankwarningdetail?id=' . $source->id . '&ticketid=' . $nextTicket->id);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }