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
de33e6ec
Commit
de33e6ec
authored
Jul 30, 2021
by
RuoYi
Browse files
优化代码生成模板
parent
a1cc346a
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/java/service.java.vm
View file @
de33e6ec
...
...
@@ -46,7 +46,7 @@ public interface I${ClassName}Service
/**
* 批量删除
${
functionName
}
*
* @param
${
pkColumn
.
javaField
}
s 需要删除的
数据
主键集合
* @param
${
pkColumn
.
javaField
}
s 需要删除的
${
functionName
}
主键集合
* @return 结果
*/
public int delete
${
ClassName
}
By
${
pkColumn
.
capJavaField
}
s(
${
pkColumn
.
javaType
}
[]
${
pkColumn
.
javaField
}
s);
...
...
ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm
View file @
de33e6ec
...
...
@@ -106,9 +106,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
}
/**
* 删除
${
functionName
}
对象
*
批量
删除
${
functionName
}
*
* @param
${
pkColumn
.
javaField
}
s 需要删除的
数据
主键
* @param
${
pkColumn
.
javaField
}
s 需要删除的
${
functionName
}
主键
* @return 结果
*/
#
if
($
table
.
sub
)
...
...
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