|
@@ -110,7 +110,7 @@ class Workshopshow extends Start_Controller
|
|
|
}
|
|
}
|
|
|
//已超时
|
|
//已超时
|
|
|
private function _tjycs(){
|
|
private function _tjycs(){
|
|
|
- $month_one = date("Y-m-d", strtotime("-1 month"));
|
|
|
|
|
|
|
+ $month_one = date("Y-m-d", strtotime("-14 days"));;
|
|
|
$this->db->where("time >",strtotime($month_one));
|
|
$this->db->where("time >",strtotime($month_one));
|
|
|
$this->db->where("type",1);
|
|
$this->db->where("type",1);
|
|
|
$this->db->where("ycrk_type",0);
|
|
$this->db->where("ycrk_type",0);
|
|
@@ -122,7 +122,7 @@ class Workshopshow extends Start_Controller
|
|
|
}
|
|
}
|
|
|
//下道工序及未及时入库
|
|
//下道工序及未及时入库
|
|
|
private function _xdgxwjs(){
|
|
private function _xdgxwjs(){
|
|
|
- $month_one = date("Y-m-d", strtotime("-1 month"));
|
|
|
|
|
|
|
+ $month_one = date("Y-m-d", strtotime("-14 days"));;
|
|
|
$this->db->where("time >",strtotime($month_one));
|
|
$this->db->where("time >",strtotime($month_one));
|
|
|
$this->db->where_in('extra_status',[1,2]);
|
|
$this->db->where_in('extra_status',[1,2]);
|
|
|
$this->db->where("ycrk_type",0);
|
|
$this->db->where("ycrk_type",0);
|