NoNZero пре 9 година
родитељ
комит
cda391f7d6
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      protected/controller/ClientController.php

+ 7 - 0
protected/controller/ClientController.php

@@ -1011,6 +1011,13 @@ class ClientController extends DooController
                 }
                 $this->measureauditact->setCheckno($auditArray['maid'], $auditcontent);
                 $this->numofperact->updateAuditStatus($this->params['tenderid'], $this->params['phaseno'], 'checkno', $iniTimes);
+                // SMS Start
+                $TenderArray = $this->actmeasure->getRowByPmid($this->params['tenderid']);
+                $userProArray = $this->profile->getProWithUid($TenderArray['uid']);
+                if (isset($userProArray) && ($userProArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
+                    $this->__auditNotice($userProArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $TenderArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR4"]);
+                }
+                // SMS End
                 $fp = $this->upfile('upfile');
                 if (isset($fp[0]['filepath'])) {
                     // 解压缩文件等待以后直接使用