dever 6 سال پیش
والد
کامیت
28a364763f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      journal/database/info.php

+ 2 - 2
journal/database/info.php

@@ -1,5 +1,5 @@
 <?php
-
+$time = (7*86400);
 $audit = Dever::config('base')->audit;
 
 $status = Dever::config('base')->status;
@@ -615,7 +615,7 @@ $config = array
             ),
             'type' => 'one',
             'order' => array('ssdate' => 'desc'),
-            'col' => $col . ',pdate as ssdate',
+            'col' => $col . ',case when cate_id = 1 then pdate else pdate-'.$time.' end as ssdate',
         ),
 	),
 );