We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码生成器生成controller时遇到数字型主键,使用的代码模板没有考虑这种情况
文件位置:wk-code/wk-code-generator/src/main/resources/templet/controller.vm
@At("/detail/?") @Ok("beetl:/${table.ViewBasePath}/detail.html") @RequiresPermissions("${table.Permissions}") public void detail(${table.pkType} id, HttpServletRequest req) { if (!Strings.isBlank(id)) { req.setAttribute("obj", ${table.ServiceInstanceName}.fetch(id)); }else{ req.setAttribute("obj", null); } }
The text was updated successfully, but these errors were encountered:
好吧好吧,改了……
Sorry, something went wrong.
6d1543f
No branches or pull requests
代码生成器生成controller时遇到数字型主键,使用的代码模板没有考虑这种情况
文件位置:wk-code/wk-code-generator/src/main/resources/templet/controller.vm
The text was updated successfully, but these errors were encountered: