소스 검색

提交修改i

lvhao 4 주 전
부모
커밋
f483b61e3d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/CoreApp/controllers/Systemfout.php

+ 2 - 1
core/CoreApp/controllers/Systemfout.php

@@ -144,8 +144,9 @@ class Systemfout extends Start_Controller {
 			$where = "library!=3 and libraryconfirm=2 and print = 3 and (".rtrim($wtype,'or').")";
 			if($timetk && $timetj && $library == 1)
             {
+				$tmp_timetj = time();
 				//$cxtime = 'reviewtime';
-                $where  .= "  and printtime > '$timetk - 180*24*3600' and printtime < '$timetj'";
+                $where  .= "  and printtime > '$timetk - 180*24*3600' and printtime < '$tmp_timetj '";
 				$where  .= " and state != 217";
 				
             }