public function returnTo400FenZhen($request, $response) { /*{{{*/ $curGroup = $this->getBuGroup($request->groupid); $patient = DAL::get()->mustFind('patient', $request->patientid); $comment = $request->comment; $tickets = $this->getTickets($patient, $curGroup); foreach ($tickets as $ticket) { if ($ticket->source instanceof Intention && $ticket->source->isSrcInspector()) { $intention = DAL::get()->find('intention', $ticket->source->id); $labelName = LabelCategory::getCategoryName(LabelCategory::TYPE_FENZHEN_400_INTENTION); $label = DAL::get()->find_by_name('Label', $labelName); $labelRef = WenDaClient::getInstance()->addLabelRef($ticket->source, $label->id); if ($labelRef->isNull() == false) { $logContent = "IntentionId:" . $intention->id . ", " . $comment; S3LogClient::getInstance()->add($this->curInspector, $patient->getLogable()->action(PatientLog::ACTION_BU_PASS_FENZHEN_400, $logContent)); } } } $this->buComplete($request, $response); $this->redirectToNext($curGroup, $response); }
echo $router->urlfor('index/index', array('c' => 'proposal', 'a' => 'proposallist', 'inspectorUserName' => $curInspector->user->name)); ?> " >我给出的方案</a> </p> <p class="pt10"> <a class="tb text_a f14" target="_blank" href="<?php echo $router->urlfor('index/index', array('c' => 'proposal', 'a' => 'noreplyproposalcnt', 'inspectorUserName' => $curInspector->user->name)); ?> " >免费方案医生未回复列表</a> </p> <p class="pt10"> <a class="tb text_a f14" target="_blank" href="<?php echo $router->urlfor('index/index', array('c' => 'proposal', 'a' => 'fenzhen400intention', 'inspectorUserName' => $curInspector->user->name)); ?> " ><?php echo LabelCategory::getCategoryName(LabelCategory::TYPE_FENZHEN_400_INTENTION); ?> </a> </p> <p class="pt10"> <a class="tb text_a f14" target="_blank" href="<?php echo $router->urlfor('index/index', array('c' => 'intention', 'a' => 'accountamountloglist')); ?> " >用户历史余额列表</a> </p> <?php } else { ?> <p class="pt10">请先下线后重新选择您要进入的工作组</p> <?php }