fix (farm): 首页
- 首页加载内容拆分 - 新增获取地块信息接口
This commit is contained in:
@@ -131,7 +131,7 @@ public class HomeInfo {
|
|||||||
@Schema(description = "地块或作物集合")
|
@Schema(description = "地块或作物集合")
|
||||||
private PlotOrCropInfo plotOrCropInfo;
|
private PlotOrCropInfo plotOrCropInfo;
|
||||||
@Schema(description = "基地弹框信息")
|
@Schema(description = "基地弹框信息")
|
||||||
private List<PlotPopupFrame> plotPopupFrames;
|
private PlotPopupFrame plotPopupFrames;
|
||||||
@Schema(description = "户主流转信息")
|
@Schema(description = "户主流转信息")
|
||||||
private List<PlotLesseeDetailsRespVO> lesseeList;
|
private List<PlotLesseeDetailsRespVO> lesseeList;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ public class HomeServiceImpl implements HomeService {
|
|||||||
t.setPoint(e.getPoint());
|
t.setPoint(e.getPoint());
|
||||||
t.setPlotColor(e.getPlotColor());
|
t.setPlotColor(e.getPlotColor());
|
||||||
t.setPlotOrCropInfo(plotOrCropInfo);
|
t.setPlotOrCropInfo(plotOrCropInfo);
|
||||||
t.setPlotPopupFrames(plotPopupFrame);
|
t.setPlotPopupFrames(plotPopupFrame.get(0));
|
||||||
t.setLesseeList(lesseeList);
|
t.setLesseeList(lesseeList);
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
@@ -207,7 +207,7 @@ public class HomeServiceImpl implements HomeService {
|
|||||||
t.setPoint(e.getPoint());
|
t.setPoint(e.getPoint());
|
||||||
t.setPlotColor(e.getPlotColor());
|
t.setPlotColor(e.getPlotColor());
|
||||||
// t.setPlotOrCropInfo(plotOrCropInfo);
|
// t.setPlotOrCropInfo(plotOrCropInfo);
|
||||||
t.setPlotPopupFrames(plotPopupFrame);
|
t.setPlotPopupFrames(plotPopupFrame.get(0));
|
||||||
// t.setLesseeList(lesseeList);
|
// t.setLesseeList(lesseeList);
|
||||||
targetList.add(t);
|
targetList.add(t);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user