|
@@ -232,6 +232,16 @@ public class PlanYearsController extends BaseController {
|
|
|
return planYearsService.update(yearsStandardVo);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "修改年度计划的机关业务指导处")
|
|
|
+ @PostMapping("/updateZDC")
|
|
|
+ @Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
|
|
|
+ public AjaxResult updateZDC(@RequestBody PlanYearsStandardVo yearsStandardVo, HttpServletRequest request) {
|
|
|
+ LoginUser loginUser = tokenService.getLoginUser(request);
|
|
|
+ //yearsStandardVo.setPurchaseDeptId(String.valueOf(loginUser.getDeptId()));
|
|
|
+ yearsStandardVo.setUpdated(String.valueOf(loginUser.getUserId()));
|
|
|
+ return planYearsService.updateZDC(yearsStandardVo);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "提交年度计划")
|
|
|
@PostMapping("/commit")
|
|
|
//@PreAuthorize("@ss.hasPermi('plan:planYears:commit')")
|