lvhao 1 周之前
父節點
當前提交
e255b5d21f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/CoreApp/controllers/Color.php

+ 4 - 0
core/CoreApp/controllers/Color.php

@@ -559,6 +559,7 @@ class Color extends Start_Controller {
 			$state = $this->input->get('state',true);
 			$timetk = $this->input->get('timetk',true);
 			$timetj = $this->input->get('timetj',true);
+			$color = $this->input->get('color',true);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$sid = $this->input->get('sid',true);
@@ -583,6 +584,9 @@ class Color extends Start_Controller {
             {
                 $where  .= " and state = '$state'";
             }
+			if($color){
+				$where  .= " and color = '$color'";
+			}
             if($developer)
             {
                 $where  .= " and developer = '$developer'";