Commit 0e078bd9 authored by hangjun83's avatar hangjun83

罗恩工具类更新

parent 1d322210
......@@ -507,7 +507,8 @@ class RhawnOrdersService
//判断是否能除尽
if (!empty($updateArr)) {
$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) {
$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