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
084907ee
Commit
084907ee
authored
Nov 18, 2021
by
若依
Committed by
Gitee
Nov 18, 2021
Browse files
!369 代码生成模板缺少事务
Merge pull request !369 from lihy2021/N/A
parents
cedd2d1d
8de93d35
Changes
1
Show whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm
View file @
084907ee
...
...
@@ -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