Commit 9c9265b3 authored by hangjun83's avatar hangjun83

罗恩工具类更新

parent d355d158
...@@ -506,7 +506,7 @@ class RhawnOrdersService ...@@ -506,7 +506,7 @@ class RhawnOrdersService
if (!empty($updateArr)) { if (!empty($updateArr)) {
$amount = bcmul($updateArr['si_discount'], $updateArr['si_num'], 2); $amount = bcmul($updateArr['si_discount'], $updateArr['si_num'], 2);
//if ($updateArr['si_amount'] != $amount) { //if ($updateArr['si_amount'] != $amount) {
if (bccomp($updateArr['si_amount'],$amount) == 0) { if (bccomp($updateArr['si_amount'],$amount) != 0) {
$note[] = 'si_id = ' . $soItem['si_id'] . '的数据有除不尽的情况,请手工处理'; $note[] = 'si_id = ' . $soItem['si_id'] . '的数据有除不尽的情况,请手工处理';
} }
} }
......
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