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