fix bug
This commit is contained in:
parent
8625d959da
commit
134da09966
|
|
@ -7,7 +7,7 @@ ruoyi:
|
|||
# 版权年份
|
||||
copyrightYear: 2021
|
||||
# 实例演示开关
|
||||
demoEnabled: true
|
||||
demoEnabled: false
|
||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||
profile: /home/ruoyi/uploadPath
|
||||
# 获取ip地址开关
|
||||
|
|
|
|||
|
|
@ -730,11 +730,11 @@ public class OrderDetailServiceImpl implements OrderDetailService {
|
|||
workerFee = workerFee.subtract(masterFee);
|
||||
feeFlag = true;
|
||||
}
|
||||
if (MoneyUtil.gt0(placeOneMoney)) {
|
||||
if (MoneyUtil.gt0(placeOneMoney) && StringUtils.isNotEmpty(placeOne)) {
|
||||
divMembers.add(new DivMember(placeOne, MoneyUtil.toS(placeOneMoney), !feeFlag));
|
||||
workerFee = workerFee.subtract(placeOneMoney);
|
||||
}
|
||||
if (MoneyUtil.gt0(placeTwoMoney)) {
|
||||
if (MoneyUtil.gt0(placeTwoMoney) && StringUtils.isNotEmpty(placeTwo)) {
|
||||
divMembers.add(new DivMember(placeTwo, MoneyUtil.toS(placeTwoMoney), !feeFlag));
|
||||
workerFee = workerFee.subtract(placeTwoMoney);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue