fixed
This commit is contained in:
parent
ebaf3caf5d
commit
9f17ef2957
@ -775,7 +775,7 @@ class TaskLogic extends BaseLogic
|
||||
}
|
||||
}
|
||||
// 完成条件: 查镇所属小组服务公司当日实际完成金额总和+镇管理公司的资金池 > 查镇所属小组服务公司当日任务目标金额总和
|
||||
if(bcadd($townTransactionPool, $townTotalTradeAmount, 2) >= $targetAmount) {
|
||||
if($targetAmount != 0 && bcadd($townTransactionPool, $townTotalTradeAmount, 2) >= $targetAmount) {
|
||||
// 将余下金额放入镇交易池
|
||||
$leftTransactionPool = bcsub(bcadd($townTransactionPool, $townTotalTradeAmount, 2), $targetAmount, 2);
|
||||
(new TownShareProfit())->townTaskType5($townTask, $townCompany, $taskSchedulePlan, $leftTransactionPool);
|
||||
|
Loading…
x
Reference in New Issue
Block a user