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