|
@@ -93,7 +93,7 @@ public class FormPeriodController extends BladeController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/updateFormPlan")
|
|
|
- @ApiOperationSupport(order = 3)
|
|
|
+ @ApiOperationSupport(order = 4)
|
|
|
@ApiOperation(value = "修改资金预算计划", notes = "传入项目id,合同id,资金预算期id ,清单计划集合")
|
|
|
public R updateFormPlan(@RequestBody FormPeriodDetailDTO dto) {
|
|
|
formPeriodDetailService.updateFormPlan(dto);
|
|
@@ -101,13 +101,21 @@ public class FormPeriodController extends BladeController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/getMeterMonth")
|
|
|
- @ApiOperationSupport(order = 3)
|
|
|
+ @ApiOperationSupport(order = 5)
|
|
|
@ApiOperation(value = "获取已经计量月份", notes = "传入 合同id,资金预算期id,返回月份数组")
|
|
|
public R<Set<String>> getMeterMonth(Long contractId, Long formPeriodId) {
|
|
|
Set<String> list = formPeriodDetailService.getMeterMonth(contractId,formPeriodId);
|
|
|
return R.data(list);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/deleteById")
|
|
|
+ @ApiOperationSupport(order = 6)
|
|
|
+ @ApiOperation(value = "删除资金预算计划", notes = "传入 资金预算期id")
|
|
|
+ public R deleteById(Long formPeriodId) {
|
|
|
+ formPeriodService.deleteById(formPeriodId);
|
|
|
+ return R.success("删除成功");
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|