Commit 97fa2920 authored by hujun's avatar hujun

is_del=0

parent 3e278ddf
......@@ -3714,7 +3714,7 @@ class Finance extends Basic
}
$m_refund = new ORefundModel();
$refund_id = $m_refund->getFind('id', ['pay_log_id'=>$this->params['pay_id']]);
$refund_id = $m_refund->getFind('id', ['pay_log_id'=>$this->params['pay_id'],'is_del'=>0]);
if ($refund_id > 0) {
return $this->response($code, '存在退款,不能删除');
}
......
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