fix (farm): 农场首页
- 添加地块颜色
This commit is contained in:
@@ -114,6 +114,8 @@ public class HomeInfo {
|
|||||||
private String manager;
|
private String manager;
|
||||||
@Schema(description = "基地坐标")
|
@Schema(description = "基地坐标")
|
||||||
private String point;
|
private String point;
|
||||||
|
@Schema(description = "基地颜色")
|
||||||
|
private String plotColor;
|
||||||
@Schema(description = "地块或作物集合")
|
@Schema(description = "地块或作物集合")
|
||||||
private PlotOrCropInfo plotOrCropInfo;
|
private PlotOrCropInfo plotOrCropInfo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,6 +130,7 @@ public class HomeServiceImpl implements HomeService {
|
|||||||
t.setPlotArea(e.getPlotArea());
|
t.setPlotArea(e.getPlotArea());
|
||||||
t.setManager(employeeName);
|
t.setManager(employeeName);
|
||||||
t.setPoint(e.getPoint());
|
t.setPoint(e.getPoint());
|
||||||
|
t.setPlotColor(e.getPlotColor());
|
||||||
t.setPlotOrCropInfo(plotOrCropInfo);
|
t.setPlotOrCropInfo(plotOrCropInfo);
|
||||||
targetList.add(t);
|
targetList.add(t);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user