feat (farm): 地块管理

- 生产计划-结束
This commit is contained in:
达富斌
2025-10-22 18:36:03 +08:00
parent 73b93434d6
commit d5948e9f2c

View File

@@ -182,7 +182,7 @@ public class CropFarmingCenterController {
@Operation(summary = "生产计划-结束按钮")
@PutMapping("/production-plan/finish")
public CommonResult<Boolean> finishPlanning(@RequestBody ProductionPlanUpdateReqVO updateReqVO) {
updateReqVO.setPlanStatus(CommonConstants.PLAN_STATUS_2);
updateReqVO.setPlanStatus(CommonConstants.PLAN_STATUS_3);
cropFarmingCenterService.updateProductionPlan(updateReqVO);
return success(true);
}