fix (farm): 基地规划

- 地块ID 取值错误
This commit is contained in:
达富斌
2025-08-27 20:31:54 +08:00
parent 8586e78527
commit 9382fa4c63

View File

@@ -201,7 +201,7 @@ public class BaseInfoServiceImpl implements BaseInfoService {
List<BaseInfoRespVO.PlotInfo> targetList = new ArrayList<>();
for (PlotInfoDO aDo : plotList) {
String plotManager = employeeMap.getOrDefault(aDo.getEmployeeId(), "系统");
BaseInfoRespVO.PlotInfo target = new BaseInfoRespVO.PlotInfo(aDo.getPlotId(), aDo.getPlotName(), aDo.getPlotColor(), aDo.getPlotArea(), plotManager);
BaseInfoRespVO.PlotInfo target = new BaseInfoRespVO.PlotInfo(aDo.getId(), aDo.getPlotName(), aDo.getPlotColor(), aDo.getPlotArea(), plotManager);
targetList.add(target);
}
obj.setPlotOverviewList(targetList);