Browse Source

何維光開放瀏覽

gary
jrbin 1 year ago
parent
commit
2f452a6c26
  1. 4
      wms/fnh/faultreview-index.php

4
wms/fnh/faultreview-index.php

@ -4,8 +4,8 @@ include "../header.php";
$data = array(); $data = array();
// sql語法存在變數中 // sql語法存在變數中
$sql_cmd = sql_myself($user_id, "handlestaff"); $sql_cmd = sql_myself($user_id, "handlestaff");
// 張珈瑄、莊雅涵、 賴定國可瀏覽近兩個月資料 // 張珈瑄、莊雅涵、賴定國、何維光可瀏覽近兩個月資料
if ($user_id == "M0061" || $user_id == "M0112" || $user_id == "C0004" ) { if ($user_id == "M0061" || $user_id == "M0112" || $user_id == "C0004" || $user_id == "M0154") {
$last2mon = date("Y/m/d 00:00:00", strtotime("-2 month")); $last2mon = date("Y/m/d 00:00:00", strtotime("-2 month"));
$sql_cmd = "where calltime >= '$last2mon'"; $sql_cmd = "where calltime >= '$last2mon'";
} }

Loading…
Cancel
Save