/**
  * commentContentAudit 内容审核起始方法
  * 
  * @param mixed $request 
  * @param mixed $response 
  * @access public
  * @return void
  */
 public function commentContentAudit($request, $response)
 {
     /*{{{*/
     $doctorComment = null;
     $ticket = DAL::get()->find('ticket', $request->ticketid);
     if ($ticket->isNull() || false == DoctorCommentInspectRule::isDoctorCommentContentGroup($ticket->inspectGroup)) {
         echo '审核工单不存在';
         exit;
     }
     if ($ticket->isDone() && $request->next > 0) {
         $group = DAL::get()->find_by_name('inspectgroup', DoctorCommentInspectRule::GROUP_DOCTORCOMMENT_TEL);
         $ticket = InspectClient::getInstance()->pickTicket($this->inspector, $group);
     }
     if ($ticket->isNull()) {
         echo "没有待审核的工单,审核完成";
         exit;
     }
     $doctorComment = $ticket->getInspectSource();
     if ($doctorComment->isNull()) {
         echo '没有相关的点评数据';
         exit;
     }
     $diseaseDoctorList = array();
     if (!$doctorComment->doctor->isNull()) {
         $diseaseDoctorList = DiseaseDoctorClient::getInstance()->getDoctorExpertDisease($doctorComment->doctor->id, 10);
     }
     $jiaHaoStatus = '';
     $userPhoneThreadList = '';
     $userThread = new NullEntity();
     $doctorPatientRef = NullEntity::create();
     $doctor = DAL::get()->find('doctor', $doctorComment->doctor->id);
     if ($doctor->hasSpace()) {
         $spaceId = $doctor->space->id;
         if ($doctorComment->patientId) {
             $jiaHaoStatus = BookingClient::getInstance()->getPatientBookingStatus($doctorComment->patientId, $spaceId);
             $doctorPatientRef = FlowClient::getInstance()->getValidFlowRef($spaceId, $doctorComment->patientId);
             $userPhoneThreadList = PaymentClient::getInstance()->getPatientSuccessServiceList($doctorComment->patientId, $spaceId);
         }
     }
     $response->doctorComment = $doctorComment;
     $session = SessionDefault::singleton();
     $privilege = PrivilegeClient::getInstance()->getByUserName($session->UserName);
     $response->ticket = $ticket;
     $response->ticketId = $request->ticketid;
     $response->diseaseDoctorList = $diseaseDoctorList;
     $response->jiaHaoStatus = $jiaHaoStatus;
     $response->doctorPatientRef = $doctorPatientRef;
     $response->userPhoneThreadList = $userPhoneThreadList;
     $response->privilege = $privilege;
     $response->msg = $request->msg;
     if ($ticket->isNull() == false) {
         $doctorComment = $ticket->getSource();
     }
     $response->textInspectResult = DAL::get()->find_by_sourceid_and_sourcetype('DoctorCommentInspectResult', $doctorComment->id, get_class($doctorComment));
 }