Commit 8ebd5674 authored by neo's avatar neo

[Bugfix] fixed assert peroject id shoud not empty but empty

parent aae9f6a9
......@@ -274,7 +274,7 @@ public class ReportServiceImpl {
}
private List<Template> getTemplatesByProjectId(String projectId) {
MyAsserts.assertEmpty(projectId, Exceptions.PROJECT_PROJECT_EXCEPTION);
MyAsserts.assertNotEmpty(projectId, Exceptions.PROJECT_PROJECT_EXCEPTION);
Project project = projectMapper.selectByPrimaryKey(projectId);
MyAsserts.assertNotNull(project, Exceptions.NOT_FOUND_REPORT_EXCEPTION);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment