mirror of https://github.com/elunez/eladmin
parent
66f5704913
commit
c847209536
|
@ -130,7 +130,7 @@ public class ${className}ServiceImpl implements ${className}Service {
|
|||
@Override
|
||||
//@CacheEvict(allEntries = true)
|
||||
public void deleteAll(${pkColumnType}[] ids) {
|
||||
for (${pkColumnType} id : ids) {
|
||||
for (${pkColumnType} ${pkChangeColName} : ids) {
|
||||
${changeClassName}Repository.deleteById(${pkChangeColName});
|
||||
}
|
||||
}
|
||||
|
@ -153,4 +153,4 @@ public class ${className}ServiceImpl implements ${className}Service {
|
|||
}
|
||||
FileUtil.downloadExcel(list, response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue