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