fixed
This commit is contained in:
parent
ebdfc81b16
commit
5f1675abf4
@ -3131,6 +3131,12 @@ class TaskLogic extends BaseLogic
|
|||||||
if ($dayCount > $stageDayThreeCount) {
|
if ($dayCount > $stageDayThreeCount) {
|
||||||
self::finishVillageTask7($startTime, $endTime, 567, 30, $taskTemplateInfo['money_three'], $villageCompany, $taskSchedulePlan);
|
self::finishVillageTask7($startTime, $endTime, 567, 30, $taskTemplateInfo['money_three'], $villageCompany, $taskSchedulePlan);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$task = Task::where('id', $taskSchedulePlan['task_id'])->find();
|
||||||
|
// 未完成 关闭任务
|
||||||
|
if ($task['status'] != 3) {
|
||||||
|
(new Task())->closeTask($taskSchedulePlan['task_id']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -3152,7 +3158,7 @@ class TaskLogic extends BaseLogic
|
|||||||
|
|
||||||
];
|
];
|
||||||
$result = ShopRequestLogic::getPlantingAndBreedingMerchantTradeAmount($param);
|
$result = ShopRequestLogic::getPlantingAndBreedingMerchantTradeAmount($param);
|
||||||
|
$task = Task::where('id', $taskSchedulePlan['task_id'])->find();
|
||||||
$tradeAmount = $result['data']['trade_amount'];
|
$tradeAmount = $result['data']['trade_amount'];
|
||||||
Log::info(['村管理公司定时任务结算执行-种养殖基地订单匹配-交易额', $tradeAmount]);
|
Log::info(['村管理公司定时任务结算执行-种养殖基地订单匹配-交易额', $tradeAmount]);
|
||||||
// 交易池
|
// 交易池
|
||||||
|
Loading…
x
Reference in New Issue
Block a user