调整农作物统计
parent
cd75ea7a2b
commit
ddc979a2cb
|
|
@ -111,7 +111,7 @@ class CropYieldController extends Controller
|
||||||
$year = $request->input('year', date('Y')); //默认今年
|
$year = $request->input('year', date('Y')); //默认今年
|
||||||
|
|
||||||
$crop = Crop::where([
|
$crop = Crop::where([
|
||||||
'category_id' => $categoryId,
|
// 'category_id' => $categoryId,
|
||||||
'id' => $cropId,
|
'id' => $cropId,
|
||||||
])->first();
|
])->first();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue