刘桂岩 hace 5 años
padre
commit
25f1d7e0e3
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      application/manage/controller/Statistics.php

+ 3 - 0
application/manage/controller/Statistics.php

@@ -254,6 +254,9 @@ class Statistics extends Base {
         if($begin == $finish){
             $filename = $begin."数据详情表";
         }else{
+            if(empty($finish)){
+                $finish = date('Y-m-d');
+            }
             $filename = $begin.'至'.$finish."数据详情表";
         }
         $headArr = array("申请医院","申请医生","病历号","检查类型","申请时间", "报告时间","报告医生","审核医生","审核时间");