调整历年年产值折线图
parent
6b8c698459
commit
52eb0f84c7
|
|
@ -255,6 +255,8 @@ class CropYieldController extends Controller
|
||||||
{
|
{
|
||||||
$baseId = $request->input('base_id'); //镇
|
$baseId = $request->input('base_id'); //镇
|
||||||
$nowYear = date('Y');
|
$nowYear = date('Y');
|
||||||
|
//默认去年开始往前4年;
|
||||||
|
$nowYear--;
|
||||||
|
|
||||||
$q = CropYield::query();
|
$q = CropYield::query();
|
||||||
if ($baseId) {
|
if ($baseId) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue