wugg hace 7 meses
padre
commit
ea03fa75f2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/admin/controller/Consult.php

+ 3 - 0
app/admin/controller/Consult.php

@@ -658,6 +658,9 @@ class Consult extends Base
         $zxinfo['updatetime']=date("Y-m-d H:i:s");
         $up = Db::name("consult_info")->save($zxinfo);
         if($up){
+            if($status==2 || $status==7){
+             Db::name("consult_bids")->where(["infoNo"=>$infoNo,"is_del"=>0])->update(["tax_status"=>0]);
+            }
             ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], [
                 "order_code" => $zxinfo['infoNo'],//咨询单详情编号
                 "status" => $old_zxinfo_status,//这里的status是之前的值