Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
8de93d35
"jetbrains:/idea/checkout/git" did not exist on "a1e8005499c7d9009d3fdd5821fd145eb52c8d26"
Commit
8de93d35
authored
Nov 17, 2021
by
lihy2021
Committed by
Gitee
Nov 17, 2021
Browse files
代码生成模板缺少事务
parent
cedd2d1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm
View file @
8de93d35
...
...
@@ -129,6 +129,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
* @param
${
pkColumn
.
javaField
}
${
functionName
}
主键
* @return 结果
*/
#
if
($
table
.
sub
)
@Transactional
#
end
@Override
public int delete
${
ClassName
}
By
${
pkColumn
.
capJavaField
}
(
${
pkColumn
.
javaType
}
${
pkColumn
.
javaField
}
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment