|
|
@@ -121,7 +121,10 @@ class CalcConsole extends BaseBusiness
|
|
|
$nowTs = time();
|
|
|
$currentPeriod = Period::find()->where('START_TIME< :NOW_TIME',['NOW_TIME'=>$nowTs])->where('END_TIME>= :NOW_TIME',['NOW_TIME'=>$nowTs-6])->asArray()->one();
|
|
|
$periodNum = $currentPeriod['PERIOD_NUM'];
|
|
|
- if (Period::isProcessing($periodNum)) {
|
|
|
+ if (
|
|
|
+ Period::isProcessing($periodNum)
|
|
|
+ || $currentPeriod['IS_MONTH'] == 0
|
|
|
+ ) {
|
|
|
return;
|
|
|
}
|
|
|
if($nowTs+86400>$currentPeriod['END_TIME'] ){
|