rabin 7 months ago
parent
commit
613213b233
1 changed files with 4 additions and 1 deletions
  1. 4 1
      yspay/Cash.php

+ 4 - 1
yspay/Cash.php

@@ -193,6 +193,7 @@ class Cash
     	$where = array();
     	$where['status'] = 2;
     	$where['fenzhang_status'] = 2;
+    	$no_order_num = Dever::input('no_order_num');
     	$order_num = Dever::input('order_num');
     	if ($order_num) {
     		$where['order_num'] = $order_num;
@@ -205,7 +206,9 @@ class Cash
     		}
     		foreach ($data as $info)
     		{
-    			if ($info['fz_cash'] && $info['fz_cash'] > 0 && $info['status'] == 2 && $info['fenzhang_status'] == 2) {
+    			if ($no_order_num && strstr($no_order_num, $info['order_num'])) {
+    				continue;
+    			} elseif ($info['fz_cash'] && $info['fz_cash'] > 0 && $info['status'] == 2 && $info['fenzhang_status'] == 2) {
 					$this->fenzhang_act($info);
 				}
     		}