update
This commit is contained in:
@@ -320,7 +320,7 @@ public class ExperimentReportController extends JeecgController<ExperimentReport
|
||||
return Result.error("用户未登录!");
|
||||
}
|
||||
Experiment experiment = experimentService.getById(experimentReport.getExperimentId());
|
||||
if (!StringUtils.equals(experimentReport.getCreateBy(), username) || !StringUtils.equals(experiment.getCreateBy(), username)) {
|
||||
if (StringUtils.equals(experimentReport.getCreateBy(), username) || StringUtils.equals(experiment.getCreateBy(), username)) {
|
||||
return Result.error("您无权进行撤回!");
|
||||
}
|
||||
ExperimentReport report = experimentReportService.getById(experimentReport.getId());
|
||||
|
||||
Reference in New Issue
Block a user