shish hace 3 años
padre
commit
40551a072d
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  1. 0 6
      app-hd/controllers/SettleController.php

+ 0 - 6
app-hd/controllers/SettleController.php

@@ -21,12 +21,6 @@ class SettleController extends BaseController
         $transaction = $connection->beginTransaction();
         try {
 
-            //先将客户未过期的结账单置为过期
-            $customId = $post['customId'] ?? 0;
-            if(!empty($customId)){
-                SettleClass::updateByCondition(['customId' => $customId, 'status' => 1], ['status' => 3]);
-            }
-
             $staff = $this->shopAdmin;
             $payWay = $post['payWay'] ?? dict::getDict('payWay', 'wxPay');
             $id = $post['id'] ?? '';