Commit befaf933 authored by hujun's avatar hujun

判断

parent 383eb1f2
...@@ -3714,8 +3714,11 @@ class Finance extends Basic ...@@ -3714,8 +3714,11 @@ class Finance extends Basic
} }
break; break;
case 4 : case 4 :
$save_data['status'] = 4; $check_num = $m_refund_log->getTotal($log_where);
$num = $m_refund_log->insertData($save_data); if ($check_num == 4) {
$save_data['status'] = 4;
$num = $m_refund_log->insertData($save_data);
}
} }
if ($num) { if ($num) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment