|
@@ -201,7 +201,7 @@ public class PlanYearsController extends BaseController {
|
|
@ApiOperation(value = "审核年度计划通过")
|
|
@ApiOperation(value = "审核年度计划通过")
|
|
@PostMapping("/reviewTo")
|
|
@PostMapping("/reviewTo")
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
|
|
- @PreAuthorize("@ss.hasPermi('plan:planYears:reviewTo')")
|
|
|
|
|
|
+// @PreAuthorize("@ss.hasPermi('plan:planYears:reviewTo')") 首页调用注释
|
|
public AjaxResult reviewTo(@RequestBody PlanYearsStandardVo yearsStandardVo, HttpServletRequest request) {
|
|
public AjaxResult reviewTo(@RequestBody PlanYearsStandardVo yearsStandardVo, HttpServletRequest request) {
|
|
LoginUser loginUser = tokenService.getLoginUser(request);
|
|
LoginUser loginUser = tokenService.getLoginUser(request);
|
|
yearsStandardVo.setUpdated(String.valueOf(loginUser.getUserId()));
|
|
yearsStandardVo.setUpdated(String.valueOf(loginUser.getUserId()));
|
|
@@ -228,7 +228,7 @@ public class PlanYearsController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "发函催告")
|
|
@ApiOperation(value = "发函催告")
|
|
@PostMapping("/sendLetter")
|
|
@PostMapping("/sendLetter")
|
|
- @PreAuthorize("@ss.hasPermi('plan:planYears:sendLetter')")
|
|
|
|
|
|
+// @PreAuthorize("@ss.hasPermi('plan:planYears:sendLetter')") 首页调用注释
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
|
|
@Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
|
|
public AjaxResult sendLetter(@RequestBody PlanYearsStandardVo yearsStandardVo) {
|
|
public AjaxResult sendLetter(@RequestBody PlanYearsStandardVo yearsStandardVo) {
|
|
return planYearsService.sendLetter(yearsStandardVo);
|
|
return planYearsService.sendLetter(yearsStandardVo);
|