diff --git a/Application/Admin/Controller/MarketPerformanceSetController.class.php b/Application/Admin/Controller/MarketPerformanceSetController.class.php index b0e40de65..dd410eab6 100644 --- a/Application/Admin/Controller/MarketPerformanceSetController.class.php +++ b/Application/Admin/Controller/MarketPerformanceSetController.class.php @@ -599,7 +599,9 @@ class MarketPerformanceSetController extends Controller { $dThisDay = date("w", $iThisMonthFirst); if ($dThisDay == '1') { $dFirstMonday = $iThisMonthFirst; - } else { + }else if($dThisDay < 1){ + $dFirstMonday = $iThisMonthFirst + 86400; + }else { //不是星期一先回到星期日 $iDays = 86400 * ($dThisDay * 1); //找出星期日的日期