|
@@ -291,7 +291,7 @@ class ScreenController extends BaseController
|
|
|
|
|
|
//产量趋势图
|
|
|
public function output_value_efficiency(Request $request){
|
|
|
- $time = strtotime(date('Y-m-01 00:00:00'));
|
|
|
+ $time = $timestampOneMonthAgo = strtotime('-1 month');
|
|
|
$return = [];
|
|
|
$data = ApplyOrderDetail::where('del_time',0)
|
|
|
->where('type',ApplyOrder::type_two)
|