|
@@ -105,7 +105,7 @@ public class CodeGenerator { |
|
|
static class PKGenerator implements TemplateMethodModelEx { |
|
|
static class PKGenerator implements TemplateMethodModelEx { |
|
|
@Override |
|
|
@Override |
|
|
public Object exec(List list) throws TemplateModelException { |
|
|
public Object exec(List list) throws TemplateModelException { |
|
|
return DbEngine.getInstance().nextId(); |
|
|
|
|
|
|
|
|
return String.valueOf(DbEngine.getInstance().nextId()); |
|
|
// return DbEngine.getInstance().nextId(); |
|
|
// return DbEngine.getInstance().nextId(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|