fixed
This commit is contained in:
parent
c9d14e48cb
commit
a9b29f03e8
@ -1806,10 +1806,10 @@ class TaskLogic extends BaseLogic
|
||||
|
||||
// 任务累计天数==第一阶段 查询第一阶段期间入驻的商户是否完成商品上架任务
|
||||
if ($dayCount == $stageDayOne) {
|
||||
$taskIsDone = self::judgeTaskMarketingDirector7(-$townCompany);
|
||||
$taskIsDone = self::judgeTaskMarketingDirector7($townCompany);
|
||||
// 结算分润
|
||||
if($taskIsDone) {
|
||||
$taskInfo['money'] = bcmul($taskIsDone, $templateInfo['money'], 2);
|
||||
$taskInfo['money'] = bcmul($stageDayOne, $templateInfo['money'], 2);
|
||||
(new TownShareProfit())->dealTaskSettlementMarketingDirector7($taskInfo,$townCompany, $taskSchedulePlan);
|
||||
} else {
|
||||
(new Task())->closeTask($taskSchedulePlan['task_id']);
|
||||
@ -1827,7 +1827,7 @@ class TaskLogic extends BaseLogic
|
||||
$taskIsDone = self::judgeTaskMarketingDirector7($townCompany);
|
||||
// 结算分润
|
||||
if($taskIsDone) {
|
||||
$taskInfo['money'] = bcmul($taskIsDone, $templateInfo['money'], 2);
|
||||
$taskInfo['money'] = bcmul($templateInfo['stage_day_two'], $templateInfo['money'], 2);
|
||||
(new TownShareProfit())->dealTaskSettlementMarketingDirector7($taskInfo,$townCompany, $taskSchedulePlan);
|
||||
} else {
|
||||
(new Task())->closeTask($taskSchedulePlan['task_id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user