fixed count bug
This commit is contained in:
parent
a8dbb0a675
commit
977ebc9f0b
@ -103,7 +103,7 @@ public class ChecklistTemplateServiceImpl extends AbstractQueryService<CheckList
|
||||
ArrayList<String> questionList = new ArrayList<String>();
|
||||
questionList.add(new String("Example question (remove this and add relevant questions)"));
|
||||
clt.setQuestions(questionList);
|
||||
clt.setTemplateNumber(safeLongToInt(checklistTemplateRepo.count() + 1));
|
||||
clt.setTemplateNumber(safeLongToInt(checklistTemplateRepo.count()));
|
||||
return clt;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user