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
Eladmin
Commits
c8472095
Unverified
Commit
c8472095
authored
Apr 23, 2020
by
NM$L
Committed by
GitHub
Apr 23, 2020
Browse files
Update ServiceImpl.ftl (#318)
生成代码 deleteAll 方法 参数错误
parent
66f57049
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/resources/template/generator/admin/ServiceImpl.ftl
View file @
c8472095
...
...
@@ -130,7 +130,7 @@ public class ${className}ServiceImpl implements ${className}Service {
@
O
verride
//@
C
acheEvict
(
allEntries
=
true
)
public
void
deleteAll
(
$
{
pkColumnType
}
[]
ids
)
{
for
(
$
{
pkColumnType
}
id
:
ids
)
{
for
(
$
{
pkColumnType
}
$
{
pkChangeColName
}
:
ids
)
{
$
{
changeClassName
}
R
epository
.deleteById
(
$
{
pkChangeColName
})
;
}
}
...
...
@@ -153,4 +153,4 @@ public class ${className}ServiceImpl implements ${className}Service {
}
F
ileUtil
.downloadExcel
(
list
,
response
)
;
}
}
\ No newline at end of file
}
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