调整农作物统计

dev
vine_liutk 2022-11-07 10:35:25 +08:00
parent cd75ea7a2b
commit ddc979a2cb
1 changed files with 1 additions and 1 deletions

View File

@ -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();