feat (farm): 地块管理
- 生产计划-结束
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user