|
@@ -100,7 +100,7 @@ public class CoreSafecheckPlanController extends BaseController {
|
|
|
return toAjax(coreSafecheckPlanService.updateCoreSafecheckPlan(coreSafecheckPlan));
|
|
return toAjax(coreSafecheckPlanService.updateCoreSafecheckPlan(coreSafecheckPlan));
|
|
|
}
|
|
}
|
|
|
@PostMapping("/distribute")
|
|
@PostMapping("/distribute")
|
|
|
-// @RequiresPermissions("core:checkplan:distribute")
|
|
|
|
|
|
|
+ @RequiresPermissions("core:checkplan:distribute")
|
|
|
public AjaxResult distribute(@RequestBody DistributeDto dto) {
|
|
public AjaxResult distribute(@RequestBody DistributeDto dto) {
|
|
|
try {
|
|
try {
|
|
|
coreSafecheckPlanService.distributeToOrg(dto);
|
|
coreSafecheckPlanService.distributeToOrg(dto);
|