|
...
|
...
|
@@ -77,6 +77,7 @@ class UpgradeProjectCount extends Command |
|
|
|
$firstDayOfNextMonth = date('Y-m-01 01:00:00', strtotime("$selectedDate +1 month"));
|
|
|
|
$arr['created_at'] = $firstDayOfNextMonth;
|
|
|
|
$arr['updated_at'] = $firstDayOfNextMonth;
|
|
|
|
echo date('Y-m-d H:i:s') . '数据:'.json_encode($arr) . PHP_EOL;
|
|
|
|
$monthCountModel->insert($arr);
|
|
|
|
}else{
|
|
|
|
$monthCountModel->edit($arr,['id'=>$info['id']]);
|
...
|
...
|
|